DemiPoto commited on
Commit
cfac485
·
verified ·
1 Parent(s): 65f4970

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -306,7 +306,8 @@ def make_me():
306
  with gr.Row():
307
  nb_images_by_prompt=gr.Number(2,label="Number of images by prompt:",interactive=True)
308
  nb_of_models_to_gen=gr.Number(10,label="Number of Models:",interactive=True)
309
- list_models_in_tag=gr.Dropdown(label="Tag",choices=[tags_plus_models_to_list],value=tags_plus_models_to_list[1][1])
 
310
  index_first_model=gr.Dropdown(label="First model",choices=tags_plus_models_to_list[1][1], type="index")
311
  list_models_in_tag.change(lambda x:gr.Dropdown(choices=x),list_models_in_tag,index_first_model)
312
  with gr.Row():
 
306
  with gr.Row():
307
  nb_images_by_prompt=gr.Number(2,label="Number of images by prompt:",interactive=True)
308
  nb_of_models_to_gen=gr.Number(10,label="Number of Models:",interactive=True)
309
+
310
+ list_models_in_tag=gr.Dropdown(label="Tag",choices=list(tags_plus_models_to_list),value=tags_plus_models_to_list[1][1])
311
  index_first_model=gr.Dropdown(label="First model",choices=tags_plus_models_to_list[1][1], type="index")
312
  list_models_in_tag.change(lambda x:gr.Dropdown(choices=x),list_models_in_tag,index_first_model)
313
  with gr.Row():