Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Commit
·
9bb9c53
1
Parent(s):
e4f0dc8
clarify even further
Browse files
src/app/interface/settings-dialog/index.tsx
CHANGED
@@ -97,8 +97,8 @@ export function SettingsDialog() {
|
|
97 |
<SelectContent>
|
98 |
<SelectItem value="SERVER">Use server settings (default, recommended)</SelectItem>
|
99 |
<SelectItem value="HUGGINGFACE">Custom Hugging Face model (requires a PRO account)</SelectItem>
|
100 |
-
<SelectItem value="REPLICATE">Custom Replicate model (will
|
101 |
-
<SelectItem value="OPENAI">DALL·E 3 by OpenAI (partial support,
|
102 |
</SelectContent>
|
103 |
</Select>
|
104 |
</Field>
|
@@ -117,7 +117,7 @@ export function SettingsDialog() {
|
|
117 |
/>
|
118 |
</Field>
|
119 |
<Field>
|
120 |
-
<Label>
|
121 |
<Input
|
122 |
className="font-mono"
|
123 |
placeholder="Name of the Inference API model"
|
@@ -145,7 +145,7 @@ export function SettingsDialog() {
|
|
145 |
|
146 |
{renderingModelVendor === "OPENAI" && <>
|
147 |
<Field>
|
148 |
-
<Label>OpenAI API Token:</Label>
|
149 |
<Input
|
150 |
className="font-mono"
|
151 |
type="password"
|
@@ -171,7 +171,7 @@ export function SettingsDialog() {
|
|
171 |
|
172 |
{renderingModelVendor === "REPLICATE" && <>
|
173 |
<Field>
|
174 |
-
<Label>Replicate API Token (
|
175 |
<Input
|
176 |
className="font-mono"
|
177 |
type="password"
|
|
|
97 |
<SelectContent>
|
98 |
<SelectItem value="SERVER">Use server settings (default, recommended)</SelectItem>
|
99 |
<SelectItem value="HUGGINGFACE">Custom Hugging Face model (requires a PRO account)</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>
|
103 |
</Select>
|
104 |
</Field>
|
|
|
117 |
/>
|
118 |
</Field>
|
119 |
<Field>
|
120 |
+
<Label>Inference API model (requires a <a className="text-stone-600 underline" href="https://huggingface.co/subscribe/pro" target="_blank">Hugging Face PRO account</a>):</Label>
|
121 |
<Input
|
122 |
className="font-mono"
|
123 |
placeholder="Name of the Inference API model"
|
|
|
145 |
|
146 |
{renderingModelVendor === "OPENAI" && <>
|
147 |
<Field>
|
148 |
+
<Label>OpenAI API Token (you will be billed based on OpenAI pricing):</Label>
|
149 |
<Input
|
150 |
className="font-mono"
|
151 |
type="password"
|
|
|
171 |
|
172 |
{renderingModelVendor === "REPLICATE" && <>
|
173 |
<Field>
|
174 |
+
<Label>Replicate API Token (you will be billed based on Replicate pricing):</Label>
|
175 |
<Input
|
176 |
className="font-mono"
|
177 |
type="password"
|