RdnUser77 commited on
Commit
5e660fa
1 Parent(s): 19a47bd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 = True) for m in choices_plus]
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 = (o != 'NA')) for m in choices_plus]
35
 
36
 
37
  def gen_fn(model_str, prompt):