Davit12 commited on
Commit
8b1c328
·
verified ·
1 Parent(s): ed84387

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -56,8 +56,8 @@ with gr.Blocks() as demo:
56
  model_choice = gr.CheckboxGroup(models, label=f'Choose up to {num_models} different models', value=default_models, multiselect=True, max_choices=num_models, interactive=True, filterable=False)
57
 
58
  with gr.Row():
59
- img_height = gr.Slider(100, 1000, value=300, step=10, label='Image Height (px)')
60
- img_width = gr.Slider(100, 1000, value=300, step=10, label='Image Width (px)')
61
 
62
  txt_input = gr.Textbox(label='Prompt text')
63
  gen_button = gr.Button('Generate')
@@ -86,8 +86,8 @@ with gr.Blocks() as demo:
86
  txt_input2 = gr.Textbox(label='Prompt text')
87
 
88
  with gr.Row():
89
- img_height2 = gr.Slider(100, 1000, value=300, step=10, label='Image Height (px)')
90
- img_width2 = gr.Slider(100, 1000, value=300, step=10, label='Image Width (px)')
91
 
92
  max_images = 16
93
  num_images = gr.Slider(1, max_images, value=max_images, step=1, label='Number of images')
 
56
  model_choice = gr.CheckboxGroup(models, label=f'Choose up to {num_models} different models', value=default_models, multiselect=True, max_choices=num_models, interactive=True, filterable=False)
57
 
58
  with gr.Row():
59
+ img_height = gr.Slider(100, 1200, value=1200, step=10, label='Image Height (px)')
60
+ img_width = gr.Slider(100, 1920, value=1920, step=10, label='Image Width (px)')
61
 
62
  txt_input = gr.Textbox(label='Prompt text')
63
  gen_button = gr.Button('Generate')
 
86
  txt_input2 = gr.Textbox(label='Prompt text')
87
 
88
  with gr.Row():
89
+ img_height2 = gr.Slider(100, 1200, value=1200, step=10, label='Image Height (px)')
90
+ img_width2 = gr.Slider(100, 1920, value=1920, step=10, label='Image Width (px)')
91
 
92
  max_images = 16
93
  num_images = gr.Slider(1, max_images, value=max_images, step=1, label='Number of images')