Refactor code and remove config vars to fix ASCII path decoding

This commit is contained in:
Nayam Amarshe
2024-04-25 00:59:51 +05:30
parent 618b46f553
commit 5feabea516
15 changed files with 142 additions and 159 deletions

View File

@@ -9,12 +9,7 @@ import { DonateButton } from "./DonateButton";
import React, { useEffect, useState } from "react";
import { themeChange } from "theme-change";
import { useAtom, useAtomValue } from "jotai";
import {
customModelsPathAtom,
noImageProcessingAtom,
overwriteAtom,
scaleAtom,
} from "../../atoms/userSettingsAtom";
import { customModelsPathAtom, scaleAtom } from "../../atoms/userSettingsAtom";
import { modelsListAtom } from "../../atoms/modelsListAtom";
import useLog from "../hooks/useLog";
import { CompressionInput } from "./CompressionInput";

View File

@@ -334,7 +334,7 @@ function LeftPaneImageSteps({
</p>
)}
<button
className="btn btn-accent"
className="btn btn-secondary"
onClick={
progress.length > 0 || !outputPath
? () =>