mirror of
https://github.com/upscayl/upscayl.git
synced 2025-02-25 22:47:59 +01:00
Update
This commit is contained in:
parent
6a973a2c82
commit
f3af1d08d8
@ -44,7 +44,7 @@ app.on("ready", async () => {
|
|||||||
log.info(
|
log.info(
|
||||||
"🆙 Upscayl version:",
|
"🆙 Upscayl version:",
|
||||||
app.getVersion(),
|
app.getVersion(),
|
||||||
FEATURE_FLAGS.APP_STORE_BUILD && "MAC-APP-STORE",
|
FEATURE_FLAGS.APP_STORE_BUILD ? "MAC-APP-STORE" : "FOSS",
|
||||||
);
|
);
|
||||||
log.info("🚀 UPSCAYL EXEC PATH: ", execPath);
|
log.info("🚀 UPSCAYL EXEC PATH: ", execPath);
|
||||||
log.info("🚀 MODELS PATH: ", modelsPath);
|
log.info("🚀 MODELS PATH: ", modelsPath);
|
||||||
|
@ -15,8 +15,10 @@ import { ModelId, MODELS } from "@common/models-list";
|
|||||||
import { useAtom, useAtomValue } from "jotai";
|
import { useAtom, useAtomValue } from "jotai";
|
||||||
import { selectedModelIdAtom } from "@/atoms/user-settings-atom";
|
import { selectedModelIdAtom } from "@/atoms/user-settings-atom";
|
||||||
import { customModelIdsAtom } from "@/atoms/models-list-atom";
|
import { customModelIdsAtom } from "@/atoms/models-list-atom";
|
||||||
|
import useTranslation from "@/components/hooks/use-translation";
|
||||||
|
|
||||||
export default function SelectModel() {
|
export default function SelectModel() {
|
||||||
|
const t = useTranslation();
|
||||||
const [selectedModelId, setSelectedModelId] = useAtom(selectedModelIdAtom);
|
const [selectedModelId, setSelectedModelId] = useAtom(selectedModelIdAtom);
|
||||||
console.log("🚀 => selectedModelId:", selectedModelId);
|
console.log("🚀 => selectedModelId:", selectedModelId);
|
||||||
|
|
||||||
@ -47,7 +49,7 @@ export default function SelectModel() {
|
|||||||
</DialogTrigger>
|
</DialogTrigger>
|
||||||
<DialogContent className="z-50 sm:max-w-lg">
|
<DialogContent className="z-50 sm:max-w-lg">
|
||||||
<DialogHeader>
|
<DialogHeader>
|
||||||
<DialogTitle>Select AI Model</DialogTitle>
|
<DialogTitle>{t("APP.MODEL_SELECTION.DESCRIPTION")}</DialogTitle>
|
||||||
</DialogHeader>
|
</DialogHeader>
|
||||||
<ScrollArea className="max-h-[600px] pr-4">
|
<ScrollArea className="max-h-[600px] pr-4">
|
||||||
<div className="grid gap-4">
|
<div className="grid gap-4">
|
||||||
|
@ -100,7 +100,7 @@
|
|||||||
},
|
},
|
||||||
"MODEL_SELECTION": {
|
"MODEL_SELECTION": {
|
||||||
"TITLE": "Step 2",
|
"TITLE": "Step 2",
|
||||||
"DESCRIPTION": "Select Model",
|
"DESCRIPTION": "Select AI Model",
|
||||||
"MODELS": {
|
"MODELS": {
|
||||||
"upscayl-standard-4x": "General Photo (Real-ESRGAN)",
|
"upscayl-standard-4x": "General Photo (Real-ESRGAN)",
|
||||||
"x4fast": "General Photo (Fast Real-ESRGAN)",
|
"x4fast": "General Photo (Fast Real-ESRGAN)",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user