Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -288,15 +288,6 @@ with gr.Blocks(theme="Nymbo/Nymbo_Theme") as demo:
|
|
288 |
step=1,
|
289 |
label="Seed (-1 for random)"
|
290 |
)
|
291 |
-
|
292 |
-
# BYOK textbox (moved from right column)
|
293 |
-
byok_textbox = gr.Textbox(
|
294 |
-
value="",
|
295 |
-
label="BYOK (Bring Your Own Key)",
|
296 |
-
info="Enter a provider API key here. When empty, only 'hf-inference' provider can be used.",
|
297 |
-
placeholder="Enter your provider API token",
|
298 |
-
type="password" # Hide the API key for security
|
299 |
-
)
|
300 |
|
301 |
with gr.Column():
|
302 |
# Provider selection
|
@@ -314,6 +305,15 @@ with gr.Blocks(theme="Nymbo/Nymbo_Theme") as demo:
|
|
314 |
info="Select an inference provider. Note: Requires provider-specific API key except for hf-inference"
|
315 |
)
|
316 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
317 |
# Model selection components (moved from left column)
|
318 |
model_search_box = gr.Textbox(
|
319 |
label="Filter Models",
|
|
|
288 |
step=1,
|
289 |
label="Seed (-1 for random)"
|
290 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
291 |
|
292 |
with gr.Column():
|
293 |
# Provider selection
|
|
|
305 |
info="Select an inference provider. Note: Requires provider-specific API key except for hf-inference"
|
306 |
)
|
307 |
|
308 |
+
# BYOK textbox
|
309 |
+
byok_textbox = gr.Textbox(
|
310 |
+
value="",
|
311 |
+
label="BYOK (Bring Your Own Key)",
|
312 |
+
info="Enter a provider API key here. When empty, only 'hf-inference' provider can be used.",
|
313 |
+
placeholder="Enter your provider API token",
|
314 |
+
type="password" # Hide the API key for security
|
315 |
+
)
|
316 |
+
|
317 |
# Model selection components (moved from left column)
|
318 |
model_search_box = gr.Textbox(
|
319 |
label="Filter Models",
|