phenomenon1981 commited on
Commit
48fbc9e
1 Parent(s): 8f76f51

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -37,7 +37,7 @@ def send_it1(inputs, noise_level, proc1=proc1):
37
  if not queue.empty():
38
  queue.queue.clear()
39
  queue_length_counter = 0
40
- output1 = proc1(prompt_with_noise)
41
  queue_length_counter += 1
42
  return output1
43
  time.sleep(1)
 
37
  if not queue.empty():
38
  queue.queue.clear()
39
  queue_length_counter = 0
40
+ output1 = proc1(prompt_with_noise, timeout=60)
41
  queue_length_counter += 1
42
  return output1
43
  time.sleep(1)