phenomenon1981 commited on
Commit
25e6cac
·
1 Parent(s): d2f1af3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -9
app.py CHANGED
@@ -44,7 +44,7 @@ def send_it1(inputs, noise_level, proc1=proc1):
44
  output1 = proc1(prompt_with_noise)
45
  queue_length_counter += 1
46
  return output1
47
- time.sleep(1)
48
 
49
  def send_it2(inputs, noise_level, proc1=proc1):
50
  global queue_length_counter
@@ -56,7 +56,7 @@ def send_it2(inputs, noise_level, proc1=proc1):
56
  output2 = proc1(prompt_with_noise)
57
  queue_length_counter += 1
58
  return output2
59
- time.sleep(1)
60
 
61
  def send_it3(inputs, noise_level, proc1=proc1):
62
  global queue_length_counter
@@ -68,7 +68,7 @@ def send_it3(inputs, noise_level, proc1=proc1):
68
  output3 = proc1(prompt_with_noise)
69
  queue_length_counter += 1
70
  return output3
71
- time.sleep(1)
72
 
73
  def send_it4(inputs, noise_level, proc1=proc1):
74
  global queue_length_counter
@@ -80,7 +80,7 @@ def send_it4(inputs, noise_level, proc1=proc1):
80
  output4 = proc1(prompt_with_noise)
81
  queue_length_counter += 1
82
  return output4
83
- time.sleep(1)
84
 
85
  def send_it5(inputs, noise_level, proc1=proc1):
86
  global queue_length_counter
@@ -92,7 +92,7 @@ def send_it5(inputs, noise_level, proc1=proc1):
92
  output5 = proc1(prompt_with_noise)
93
  queue_length_counter += 1
94
  return output5
95
- time.sleep(1)
96
 
97
  def send_it6(inputs, noise_level, proc1=proc1):
98
  global queue_length_counter
@@ -104,7 +104,7 @@ def send_it6(inputs, noise_level, proc1=proc1):
104
  output6 = proc1(prompt_with_noise)
105
  queue_length_counter += 1
106
  return output6
107
- time.sleep(1)
108
 
109
  def send_it7(inputs, noise_level, proc1=proc1):
110
  global queue_length_counter
@@ -116,7 +116,7 @@ def send_it7(inputs, noise_level, proc1=proc1):
116
  output7 = proc1(prompt_with_noise)
117
  queue_length_counter += 1
118
  return output7
119
- time.sleep(1)
120
 
121
  def send_it8(inputs, noise_level, proc1=proc1):
122
  global queue_length_counter
@@ -128,7 +128,7 @@ def send_it8(inputs, noise_level, proc1=proc1):
128
  output8 = proc1(prompt_with_noise)
129
  queue_length_counter += 1
130
  return output8
131
- time.sleep(1)
132
 
133
 
134
 
@@ -141,7 +141,7 @@ def get_prompts(prompt_text):
141
  output = text_gen(prompt_text)
142
  queue_length_counter += 1
143
  return output
144
- time.sleep(1)
145
 
146
 
147
  with gr.Blocks() as myface:
 
44
  output1 = proc1(prompt_with_noise)
45
  queue_length_counter += 1
46
  return output1
47
+ time.sleep(2)
48
 
49
  def send_it2(inputs, noise_level, proc1=proc1):
50
  global queue_length_counter
 
56
  output2 = proc1(prompt_with_noise)
57
  queue_length_counter += 1
58
  return output2
59
+ time.sleep(2)
60
 
61
  def send_it3(inputs, noise_level, proc1=proc1):
62
  global queue_length_counter
 
68
  output3 = proc1(prompt_with_noise)
69
  queue_length_counter += 1
70
  return output3
71
+ time.sleep(2)
72
 
73
  def send_it4(inputs, noise_level, proc1=proc1):
74
  global queue_length_counter
 
80
  output4 = proc1(prompt_with_noise)
81
  queue_length_counter += 1
82
  return output4
83
+ time.sleep(2)
84
 
85
  def send_it5(inputs, noise_level, proc1=proc1):
86
  global queue_length_counter
 
92
  output5 = proc1(prompt_with_noise)
93
  queue_length_counter += 1
94
  return output5
95
+ time.sleep(2)
96
 
97
  def send_it6(inputs, noise_level, proc1=proc1):
98
  global queue_length_counter
 
104
  output6 = proc1(prompt_with_noise)
105
  queue_length_counter += 1
106
  return output6
107
+ time.sleep(2)
108
 
109
  def send_it7(inputs, noise_level, proc1=proc1):
110
  global queue_length_counter
 
116
  output7 = proc1(prompt_with_noise)
117
  queue_length_counter += 1
118
  return output7
119
+ time.sleep(2)
120
 
121
  def send_it8(inputs, noise_level, proc1=proc1):
122
  global queue_length_counter
 
128
  output8 = proc1(prompt_with_noise)
129
  queue_length_counter += 1
130
  return output8
131
+ time.sleep(2)
132
 
133
 
134
 
 
141
  output = text_gen(prompt_text)
142
  queue_length_counter += 1
143
  return output
144
+ time.sleep(2)
145
 
146
 
147
  with gr.Blocks() as myface: