Update app.py
Browse files
app.py
CHANGED
@@ -721,7 +721,7 @@ with gr.Blocks(theme=custom_theme, css=custom_css) as demo:
|
|
721 |
load_space_button = gr.Button("π Load Existing Space", variant="secondary")
|
722 |
|
723 |
with gr.Accordion("π€ AI Model Settings", open=True):
|
724 |
-
provider_select = gr.Dropdown(label="AI Provider", choices=get_available_providers(), value=get_default_model_for_provider(get_available_providers()[0] if get_available_providers() else
|
725 |
model_select = gr.Dropdown(label="AI Model", choices=[])
|
726 |
system_prompt_input = gr.Textbox(label="System Prompt", lines=10, value=DEFAULT_SYSTEM_PROMPT, elem_id="system-prompt")
|
727 |
|
|
|
721 |
load_space_button = gr.Button("π Load Existing Space", variant="secondary")
|
722 |
|
723 |
with gr.Accordion("π€ AI Model Settings", open=True):
|
724 |
+
provider_select = gr.Dropdown(label="AI Provider", choices=get_available_providers(), value=get_default_model_for_provider(get_available_providers()[0] if get_available_providers() else 'Groq'))
|
725 |
model_select = gr.Dropdown(label="AI Model", choices=[])
|
726 |
system_prompt_input = gr.Textbox(label="System Prompt", lines=10, value=DEFAULT_SYSTEM_PROMPT, elem_id="system-prompt")
|
727 |
|