phenomenon1981 commited on
Commit
9bfbff3
1 Parent(s): e6cd7ac

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -104,7 +104,6 @@ def send_it8(inputs, noise_level, proc1=proc1):
104
  return output8
105
 
106
 
107
- get_prompts_queue = Queue()
108
  def get_prompts(prompt_text):
109
  output = text_gen(prompt_text)
110
  return output
@@ -122,7 +121,7 @@ with gr.Blocks() as myface:
122
  run=gr.Button("Generate")
123
 
124
  with gr.Row():
125
- like_message = gr.Button("❤️ Press the Like Button if you enjoy my space! ❤️")
126
  with gr.Row():
127
  output1=gr.Image(label="Dreamlike Diffusion 1.0")
128
  output2=gr.Image(label="Dreamlike Diffusion 1.0")
@@ -148,5 +147,5 @@ with gr.Blocks() as myface:
148
  see_prompts.click(get_prompts, inputs=[input_text], outputs=[prompt])
149
 
150
  myface.launch(enable_queue=True, inline=True)
151
- block.queue(concurrency_count=30, max_size=30).launch(max_threads=40)
152
  reset_queue_thread.join()
 
104
  return output8
105
 
106
 
 
107
  def get_prompts(prompt_text):
108
  output = text_gen(prompt_text)
109
  return output
 
121
  run=gr.Button("Generate")
122
 
123
  with gr.Row():
124
+ like_message = gr.Button("❤️❤️❤️ Press the Like Button if you enjoy my space! ❤️❤️❤️")
125
  with gr.Row():
126
  output1=gr.Image(label="Dreamlike Diffusion 1.0")
127
  output2=gr.Image(label="Dreamlike Diffusion 1.0")
 
147
  see_prompts.click(get_prompts, inputs=[input_text], outputs=[prompt])
148
 
149
  myface.launch(enable_queue=True, inline=True)
150
+ block.queue(concurrency_count=30, max_size=30).launch(max_threads=80)
151
  reset_queue_thread.join()