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