Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -31,7 +31,7 @@ def extend_choices(choices):
|
|
31 |
|
32 |
def update_imgbox(choices):
|
33 |
choices_plus = extend_choices(choices)
|
34 |
-
return [gr.Image(None, label = m, visible = (
|
35 |
|
36 |
|
37 |
def gen_fn(model_str, prompt):
|
|
|
31 |
|
32 |
def update_imgbox(choices):
|
33 |
choices_plus = extend_choices(choices)
|
34 |
+
return [gr.Image(None, label = m, visible = (m != 'NA')) for m in choices_plus]
|
35 |
|
36 |
|
37 |
def gen_fn(model_str, prompt):
|