broadfield-dev commited on
Commit
a03540f
Β·
verified Β·
1 Parent(s): 79d9fa8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 None))
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