Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -567,7 +567,7 @@ with gr.Blocks(theme=purple_theme, css=custom_css) as demo:
|
|
| 567 |
with gr.Group(elem_classes="gradio-group"):
|
| 568 |
gr.Markdown("### ⚙️ 1. Global API Configuration")
|
| 569 |
with gr.Row():
|
| 570 |
-
key_input = gr.Textbox(label="API Key", type="password", placeholder="sk-...", scale=1)
|
| 571 |
api_base_url_input = gr.Textbox(label="Base URL (Optional)", placeholder="https://api.example.com", scale=1)
|
| 572 |
key_btn = gr.Button("💾 Save API Configuration")
|
| 573 |
api_status = gr.Textbox(show_label=False, interactive=False, elem_classes="status-text")
|
|
|
|
| 567 |
with gr.Group(elem_classes="gradio-group"):
|
| 568 |
gr.Markdown("### ⚙️ 1. Global API Configuration")
|
| 569 |
with gr.Row():
|
| 570 |
+
key_input = gr.Textbox(label="Gemini API Key", type="password", placeholder="sk-...", scale=1)
|
| 571 |
api_base_url_input = gr.Textbox(label="Base URL (Optional)", placeholder="https://api.example.com", scale=1)
|
| 572 |
key_btn = gr.Button("💾 Save API Configuration")
|
| 573 |
api_status = gr.Textbox(show_label=False, interactive=False, elem_classes="status-text")
|