mirror of
https://github.com/upscayl/upscayl.git
synced 2025-02-20 20:51:49 +01:00
added anime button
This commit is contained in:
parent
3e9f790347
commit
20877e62aa
@ -39,6 +39,12 @@ const Home = () => {
|
||||
}
|
||||
};
|
||||
|
||||
const handleCheck = (e) => {
|
||||
if (e.target.checked) {
|
||||
setModel("realesrgan-x4plus-anime")
|
||||
}
|
||||
}
|
||||
|
||||
const outputHandler = async () => {
|
||||
var path = await window.electron.invoke(commands.SELECT_FOLDER);
|
||||
if (path !== "cancelled") {
|
||||
@ -83,6 +89,8 @@ const Home = () => {
|
||||
Select Image
|
||||
</button>
|
||||
</div>
|
||||
<input className="appearance-none h-4 w-4 border border-gray-300 rounded-sm bg-white checked:bg-blue-600 checked:border-blue-600 focus:outline-none transition duration-200 mt-1 align-top bg-no-repeat bg-center bg-contain float-left mr-2 cursor-pointer" type="checkbox" onChange={handleCheck}/>
|
||||
<label className="text-neutral-100" >Anime</label>
|
||||
|
||||
{/* STEP 2 */}
|
||||
<div className="mt-10">
|
||||
|
Loading…
x
Reference in New Issue
Block a user