import { useState, useEffect, useRef } from "react"; const Home = () => { const [imagePath, SetImagePath] = useState(); useEffect(() => { // send(command, payload) window.electron.send("sendMessage", { message: "Hello!" }); }, []); const imageHandler = async () => { var path = await window.electron.invoke("open"); SetImagePath(path); console.log(imagePath); }; return (

Upscayl

Step 1

Step 2

Select Scale Factor:

Step 3

Step 4

Select an Image to Upscale

); }; export default Home;