phenomenon1981 commited on
Commit
966f38f
1 Parent(s): ff9fef8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -11
app.py CHANGED
@@ -137,23 +137,23 @@ with gr.Blocks() as myface:
137
  with gr.Row():
138
 
139
  prompt=gr.Textbox(label="Enter Prompt")
140
- noise_level=gr.Slider(minimum=0.1, maximum=2, 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])
@@ -168,5 +168,5 @@ with gr.Blocks() as myface:
168
 
169
 
170
 
171
- myface.queue(concurrency_count=150)
172
  myface.launch(enable_queue=True, inline=True)
 
137
  with gr.Row():
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])
 
168
 
169
 
170
 
171
+ myface.queue(concurrency_count=4)
172
  myface.launch(enable_queue=True, inline=True)