Yntec commited on
Commit
fc42fea
1 Parent(s): 3248939

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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 = (m != 'NA'), min_width=640) for m in choices_plus]
35
 
36
 
37
  def gen_fn(model_str, prompt):
@@ -50,7 +50,7 @@ with gr.Blocks() as demo:
50
  gen_button.click(lambda s: gr.update(interactive = True), None, stop_button)
51
 
52
  with gr.Row():
53
- output = [gr.Image(label = m) for m in default_models]
54
  current_models = [gr.Textbox(m, visible = False) for m in default_models]
55
 
56
  for m, o in zip(current_models, output):
 
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):
 
50
  gen_button.click(lambda s: gr.update(interactive = True), None, stop_button)
51
 
52
  with gr.Row():
53
+ output = [gr.Image(label = m, min_width=256) for m in default_models]
54
  current_models = [gr.Textbox(m, visible = False) for m in default_models]
55
 
56
  for m, o in zip(current_models, output):