svjack commited on
Commit
1cc8980
Β·
1 Parent(s): 43e8d2b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -160,8 +160,8 @@ with gr.Blocks(
160
  with gr.Column():
161
  with gr.Row():
162
  hf_model_dropdown = gr.Dropdown(label = "πŸ€— Hf model",
163
- choices=list(map(lambda x: x.title, model_interface_list)),
164
- value=list(map(lambda x: x.title, model_interface_list))[0],)
165
  with gr.Column():
166
  with gr.Row():
167
  civital_prompt = gr.Textbox(label = "🀭 Civital Prompt (Click from πŸ‘‰ right gallery to get them, and You can edit ✍️ yourself)",
 
160
  with gr.Column():
161
  with gr.Row():
162
  hf_model_dropdown = gr.Dropdown(label = "πŸ€— Hf model",
163
+ choices=sorted(map(lambda x: x.title, model_interface_list)),
164
+ value=sorted(map(lambda x: x.title, model_interface_list))[0],)
165
  with gr.Column():
166
  with gr.Row():
167
  civital_prompt = gr.Textbox(label = "🀭 Civital Prompt (Click from πŸ‘‰ right gallery to get them, and You can edit ✍️ yourself)",