Spaces:
Sleeping
Sleeping
Julian Bilcke
commited on
Commit
·
ff7ca75
1
Parent(s):
9bb9c53
well, actually..
Browse files
src/app/interface/settings-dialog/index.tsx
CHANGED
|
@@ -95,8 +95,8 @@ export function SettingsDialog() {
|
|
| 95 |
<SelectValue placeholder="Theme" />
|
| 96 |
</SelectTrigger>
|
| 97 |
<SelectContent>
|
| 98 |
-
<SelectItem value="SERVER">Use server settings (default
|
| 99 |
-
<SelectItem value="HUGGINGFACE">Custom Hugging Face model (
|
| 100 |
<SelectItem value="REPLICATE">Custom Replicate model (will use your own account)</SelectItem>
|
| 101 |
<SelectItem value="OPENAI">DALL·E 3 by OpenAI (partial support, will use your own account)</SelectItem>
|
| 102 |
</SelectContent>
|
|
@@ -105,7 +105,7 @@ export function SettingsDialog() {
|
|
| 105 |
|
| 106 |
{renderingModelVendor === "HUGGINGFACE" && <>
|
| 107 |
<Field>
|
| 108 |
-
<Label>Hugging Face API Token:</Label>
|
| 109 |
<Input
|
| 110 |
className="font-mono"
|
| 111 |
type="password"
|
|
@@ -117,7 +117,7 @@ export function SettingsDialog() {
|
|
| 117 |
/>
|
| 118 |
</Field>
|
| 119 |
<Field>
|
| 120 |
-
<Label>Inference API model (
|
| 121 |
<Input
|
| 122 |
className="font-mono"
|
| 123 |
placeholder="Name of the Inference API model"
|
|
|
|
| 95 |
<SelectValue placeholder="Theme" />
|
| 96 |
</SelectTrigger>
|
| 97 |
<SelectContent>
|
| 98 |
+
<SelectItem value="SERVER">Use server settings (default)</SelectItem>
|
| 99 |
+
<SelectItem value="HUGGINGFACE">Custom Hugging Face model (recommended)</SelectItem>
|
| 100 |
<SelectItem value="REPLICATE">Custom Replicate model (will use your own account)</SelectItem>
|
| 101 |
<SelectItem value="OPENAI">DALL·E 3 by OpenAI (partial support, will use your own account)</SelectItem>
|
| 102 |
</SelectContent>
|
|
|
|
| 105 |
|
| 106 |
{renderingModelVendor === "HUGGINGFACE" && <>
|
| 107 |
<Field>
|
| 108 |
+
<Label>Hugging Face API Token (a <a className="text-stone-600 underline" href="https://huggingface.co/subscribe/pro" target="_blank">PRO account</a> is recommended for faster inference):</Label>
|
| 109 |
<Input
|
| 110 |
className="font-mono"
|
| 111 |
type="password"
|
|
|
|
| 117 |
/>
|
| 118 |
</Field>
|
| 119 |
<Field>
|
| 120 |
+
<Label>Inference API model (custom SDXL or SDXL LoRA):</Label>
|
| 121 |
<Input
|
| 122 |
className="font-mono"
|
| 123 |
placeholder="Name of the Inference API model"
|