Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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=
|
164 |
-
value=
|
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)",
|