Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -306,13 +306,12 @@ 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 |
-
|
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():
|
314 |
disp_info=gr.Textbox(label="Info")
|
315 |
-
load_info=gr.Button(
|
316 |
load.info.click(fonc_load_info,[nb_of_models_to_gen,index_first_model],[disp_info])
|
317 |
|
318 |
js_code = """
|
|
|
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=list(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():
|
313 |
disp_info=gr.Textbox(label="Info")
|
314 |
+
load_info=gr.Button("Load info")
|
315 |
load.info.click(fonc_load_info,[nb_of_models_to_gen,index_first_model],[disp_info])
|
316 |
|
317 |
js_code = """
|