phenomenon1981 commited on
Commit
0216f54
·
1 Parent(s): 9f74e19

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -113,10 +113,7 @@ def send_it8(inputs, noise_level, proc1=proc1):
113
 
114
 
115
  def get_prompts(prompt_text):
116
- while queue.qsize() >= queue_threshold:
117
- time.sleep(1)
118
- queue.put(prompt_text)
119
- output = text_gen(queue.get())
120
  return output
121
 
122
 
 
113
 
114
 
115
  def get_prompts(prompt_text):
116
+ output = text_gen(prompt_text)
 
 
 
117
  return output
118
 
119