Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -76,13 +76,14 @@ def choice_group_a(group_model_choice):
|
|
| 76 |
|
| 77 |
def choice_group_b(group_model_choice):
|
| 78 |
choice=choice_group_a(group_model_choice)
|
|
|
|
| 79 |
"""return [gr.Image(label=m, min_width=170, height=170) for m in choice]"""
|
| 80 |
return [gr.Image(None, label=m, visible=(m != 'NA')) for m in choice]
|
| 81 |
|
| 82 |
def choice_group_c(group_model_choice):
|
| 83 |
choice=choice_group_a(group_model_choice)
|
| 84 |
-
|
| 85 |
-
return [gr.Textbox(m, visible=
|
| 86 |
|
| 87 |
def choice_group_d(var_Test):
|
| 88 |
(gen_button,stop_button,output,current_models)=var_Test
|
|
|
|
| 76 |
|
| 77 |
def choice_group_b(group_model_choice):
|
| 78 |
choice=choice_group_a(group_model_choice)
|
| 79 |
+
choice = extend_choices(choice)
|
| 80 |
"""return [gr.Image(label=m, min_width=170, height=170) for m in choice]"""
|
| 81 |
return [gr.Image(None, label=m, visible=(m != 'NA')) for m in choice]
|
| 82 |
|
| 83 |
def choice_group_c(group_model_choice):
|
| 84 |
choice=choice_group_a(group_model_choice)
|
| 85 |
+
choice = extend_choices(choice)
|
| 86 |
+
return [gr.Textbox(m, visible=False) for m in choice]
|
| 87 |
|
| 88 |
def choice_group_d(var_Test):
|
| 89 |
(gen_button,stop_button,output,current_models)=var_Test
|