Skip to content

Commit

Permalink
fix: bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
Dogtiti committed Jul 24, 2024
1 parent 3935c72 commit 2a1c05a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
3 changes: 2 additions & 1 deletion app/components/sd/sd-sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ export function SideBar(props: { className?: string }) {
};
sdStore.sendTask(data, () => {
setParams(getModelParamBasicData(columns, params, true));
navigate(Path.SdNew);
});
};

Expand Down Expand Up @@ -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>
Expand Down
1 change: 0 additions & 1 deletion app/components/sd/sd.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ function getSdTaskStatus(item: any) {
});
}}
>
{" "}
- {item.error}
</span>
)}
Expand Down
2 changes: 1 addition & 1 deletion app/constant.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,14 +87,14 @@ 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",
Anthropic = "Anthropic",
Baidu = "Baidu",
ByteDance = "ByteDance",
Alibaba = "Alibaba",
Stability = "Stability",
}

// Google API safety settings, see https://ai.google.dev/gemini-api/docs/safety-settings
Expand Down

0 comments on commit 2a1c05a

Please sign in to comment.