phenomenon1981 commited on
Commit
ae96741
1 Parent(s): 71c0e95

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -111,8 +111,7 @@ with gr.Blocks() as myface:
111
  see_prompts=gr.Button("Magic Prompt")
112
  with gr.Row():
113
 
114
- prompt=gr.Textbox(label="Enter Prompt")
115
- with gr.Row():
116
  noise_level=gr.Slider(minimum=0.1, maximum=3, 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.")
117
  run=gr.Button("Generate")
118
 
@@ -142,4 +141,4 @@ with gr.Blocks() as myface:
142
  run.click(send_it8, inputs=[prompt, noise_level], outputs=[output8])
143
 
144
  myface.launch(enable_queue=True, inline=True)
145
- block.queue(concurrency_count=4)
 
111
  see_prompts=gr.Button("Magic Prompt")
112
  with gr.Row():
113
 
114
+ prompt=gr.Textbox(label="Enter Prompt")
 
115
  noise_level=gr.Slider(minimum=0.1, maximum=3, 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.")
116
  run=gr.Button("Generate")
117
 
 
141
  run.click(send_it8, inputs=[prompt, noise_level], outputs=[output8])
142
 
143
  myface.launch(enable_queue=True, inline=True)
144
+ block.queue(concurrency_count=100)