jordonpeter01 commited on
Commit
5167bd2
·
verified ·
1 Parent(s): 9c52132

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -20,7 +20,7 @@ def load_fn(models):
20
  load_fn(models)
21
 
22
 
23
- num_models = 200
24
  default_models = models[:num_models]
25
 
26
 
@@ -45,7 +45,7 @@ def gen_fn(model_str, prompt):
45
  with gr.Blocks() as demo:
46
  with gr.Tab('The Dream'):
47
  txt_input = gr.Textbox(label = 'Your prompt:', lines=4).style(container=False,min_width=1200)
48
- gen_button = gr.Button('Generate up to 200 images in up to 3 minutes total')
49
  stop_button = gr.Button('Stop', variant = 'secondary', interactive = False)
50
  gen_button.click(lambda s: gr.update(interactive = True), None, stop_button)
51
  gr.HTML(
@@ -61,7 +61,7 @@ with gr.Blocks() as demo:
61
  """
62
  )
63
  with gr.Row():
64
- output = [gr.Image(label = m, min_width=480) for m in default_models]
65
  current_models = [gr.Textbox(m, visible = False) for m in default_models]
66
 
67
  for m, o in zip(current_models, output):
 
20
  load_fn(models)
21
 
22
 
23
+ num_models = 150
24
  default_models = models[:num_models]
25
 
26
 
 
45
  with gr.Blocks() as demo:
46
  with gr.Tab('The Dream'):
47
  txt_input = gr.Textbox(label = 'Your prompt:', lines=4).style(container=False,min_width=1200)
48
+ gen_button = gr.Button('Generate up to 150 images in up to 3 minutes total')
49
  stop_button = gr.Button('Stop', variant = 'secondary', interactive = False)
50
  gen_button.click(lambda s: gr.update(interactive = True), None, stop_button)
51
  gr.HTML(
 
61
  """
62
  )
63
  with gr.Row():
64
+ output = [gr.Image(label = m, min_width=768) for m in default_models]
65
  current_models = [gr.Textbox(m, visible = False) for m in default_models]
66
 
67
  for m, o in zip(current_models, output):