phenomenon1981 commited on
Commit
13af8bf
1 Parent(s): 835014c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -9
app.py CHANGED
@@ -138,22 +138,22 @@ with gr.Blocks() as myface:
138
 
139
  prompt=gr.Textbox(label="Enter Prompt")
140
  noise_level=gr.Slider(minimum=0.1, maximum=1, step=0.1, label="Noise Level: Controls how much randomness is added to the input before it is sent to the model. Higher noise level produces more diverse outputs, while lower noise level produces similar outputs.")
141
- run=gr.Button("Generate", blocking=True)
142
 
143
  with gr.Row():
144
  like_message = gr.Button("Press the Like Button if you enjoy my space",)
145
  with gr.Row():
146
- output1=gr.Image(label="Dreamlike Photoreal 2.0", blocking=True, timeout=30)
147
- output2=gr.Image(label="Dreamlike Photoreal 2.0", blocking=True, timeout=30)
148
  with gr.Row():
149
- output3=gr.Image(label="Dreamlike Photoreal 2.0", blocking=True, timeout=30)
150
- output4=gr.Image(label="Dreamlike Photoreal 2.0", blocking=True, timeout=30)
151
  with gr.Row():
152
- output5=gr.Image(label="Dreamlike Diffusion 1.0", blocking=True, timeout=30)
153
- output6=gr.Image(label="Dreamlike Diffusion 1.0", blocking=True, timeout=30)
154
  with gr.Row():
155
- output7=gr.Image(label="Dreamlike Diffusion 1.0", blocking=True, timeout=30)
156
- output8=gr.Image(label="Dreamlike Diffusion 1.0", blocking=True, timeout=30)
157
 
158
 
159
  run.click(send_it1, inputs=[prompt, noise_level], outputs=[output1])
 
138
 
139
  prompt=gr.Textbox(label="Enter Prompt")
140
  noise_level=gr.Slider(minimum=0.1, maximum=1, step=0.1, label="Noise Level: Controls how much randomness is added to the input before it is sent to the model. Higher noise level produces more diverse outputs, while lower noise level produces similar outputs.")
141
+ run=gr.Button("Generate")
142
 
143
  with gr.Row():
144
  like_message = gr.Button("Press the Like Button if you enjoy my space",)
145
  with gr.Row():
146
+ output1=gr.Image(label="Dreamlike Photoreal 2.0",)
147
+ output2=gr.Image(label="Dreamlike Photoreal 2.0",)
148
  with gr.Row():
149
+ output3=gr.Image(label="Dreamlike Photoreal 2.0",)
150
+ output4=gr.Image(label="Dreamlike Photoreal 2.0",)
151
  with gr.Row():
152
+ output5=gr.Image(label="Dreamlike Diffusion 1.0",)
153
+ output6=gr.Image(label="Dreamlike Diffusion 1.0",)
154
  with gr.Row():
155
+ output7=gr.Image(label="Dreamlike Diffusion 1.0",)
156
+ output8=gr.Image(label="Dreamlike Diffusion 1.0",)
157
 
158
 
159
  run.click(send_it1, inputs=[prompt, noise_level], outputs=[output1])