phenomenon1981 commited on
Commit
4e58909
1 Parent(s): 0cad9da

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -105,10 +105,7 @@ def send_it8(inputs, noise_level, proc1=proc1):
105
 
106
 
107
  def get_prompts(prompt_text):
108
- while queue.qsize() >= queue_threshold:
109
- time.sleep(1)
110
- queue.put(prompt_text)
111
- output = text_gen(queue.get())
112
  return output
113
 
114
 
 
105
 
106
 
107
  def get_prompts(prompt_text):
108
+ output = text_gen(prompt_text)
 
 
 
109
  return output
110
 
111