Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -439,7 +439,7 @@ with gr.Blocks(theme=purple_theme, css=custom_css) as demo:
|
|
| 439 |
with gr.Group(elem_classes="gradio-group"):
|
| 440 |
gr.Markdown("### ⚙️ 1. Global API Configuration")
|
| 441 |
with gr.Row():
|
| 442 |
-
key_input = gr.Textbox(label="API Key", type="password", placeholder="sk-...", scale=1)
|
| 443 |
api_base_url_input = gr.Textbox(label="Base URL (Optional)", placeholder="https://api.example.com", scale=1)
|
| 444 |
key_btn = gr.Button("💾 Save API Configuration")
|
| 445 |
|
|
|
|
| 439 |
with gr.Group(elem_classes="gradio-group"):
|
| 440 |
gr.Markdown("### ⚙️ 1. Global API Configuration")
|
| 441 |
with gr.Row():
|
| 442 |
+
key_input = gr.Textbox(label="Gemini API Key", type="password", placeholder="sk-...", scale=1)
|
| 443 |
api_base_url_input = gr.Textbox(label="Base URL (Optional)", placeholder="https://api.example.com", scale=1)
|
| 444 |
key_btn = gr.Button("💾 Save API Configuration")
|
| 445 |
|