fix: bugs
This commit is contained in:
parent
3935c725c9
commit
2a1c05a028
|
@ -63,6 +63,7 @@ export function SideBar(props: { className?: string }) {
|
|||
};
|
||||
sdStore.sendTask(data, () => {
|
||||
setParams(getModelParamBasicData(columns, params, true));
|
||||
navigate(Path.SdNew);
|
||||
});
|
||||
};
|
||||
|
||||
|
@ -113,7 +114,7 @@ export function SideBar(props: { className?: string }) {
|
|||
onClick={() => navigate(Path.Home)}
|
||||
/>
|
||||
}
|
||||
logo={<SDIcon width={38} height={38} />}
|
||||
logo={<SDIcon width={38} height={"100%"} />}
|
||||
></SideBarHeader>
|
||||
)}
|
||||
<SideBarBody>
|
||||
|
|
|
@ -80,7 +80,6 @@ function getSdTaskStatus(item: any) {
|
|||
});
|
||||
}}
|
||||
>
|
||||
{" "}
|
||||
- {item.error}
|
||||
</span>
|
||||
)}
|
||||
|
|
|
@ -87,7 +87,6 @@ export const REQUEST_TIMEOUT_MS = 60000;
|
|||
export const EXPORT_MESSAGE_CLASS_NAME = "export-markdown";
|
||||
|
||||
export enum ServiceProvider {
|
||||
Stability = "Stability",
|
||||
OpenAI = "OpenAI",
|
||||
Azure = "Azure",
|
||||
Google = "Google",
|
||||
|
@ -95,6 +94,7 @@ export enum ServiceProvider {
|
|||
Baidu = "Baidu",
|
||||
ByteDance = "ByteDance",
|
||||
Alibaba = "Alibaba",
|
||||
Stability = "Stability",
|
||||
}
|
||||
|
||||
// Google API safety settings, see https://ai.google.dev/gemini-api/docs/safety-settings
|
||||
|
|
Loading…
Reference in New Issue