Spaces:
Runtime error
Runtime error
Commit
·
019ffe6
1
Parent(s):
1ee4d9f
Update app.py
Browse files
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(
|
48 |
|
49 |
def send_it2(inputs, noise_level, proc1=proc1):
|
50 |
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(
|
72 |
|
73 |
def send_it4(inputs, noise_level, proc1=proc1):
|
74 |
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(
|
96 |
|
97 |
def send_it6(inputs, noise_level, proc1=proc1):
|
98 |
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(
|
120 |
|
121 |
def send_it8(inputs, noise_level, proc1=proc1):
|
122 |
global queue_length_counter
|
@@ -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(
|
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()
|
48 |
|
49 |
def send_it2(inputs, noise_level, proc1=proc1):
|
50 |
global queue_length_counter
|
|
|
68 |
output3 = proc1(prompt_with_noise)
|
69 |
queue_length_counter += 1
|
70 |
return output3
|
71 |
+
time.sleep()
|
72 |
|
73 |
def send_it4(inputs, noise_level, proc1=proc1):
|
74 |
global queue_length_counter
|
|
|
92 |
output5 = proc1(prompt_with_noise)
|
93 |
queue_length_counter += 1
|
94 |
return output5
|
95 |
+
time.sleep()
|
96 |
|
97 |
def send_it6(inputs, noise_level, proc1=proc1):
|
98 |
global queue_length_counter
|
|
|
116 |
output7 = proc1(prompt_with_noise)
|
117 |
queue_length_counter += 1
|
118 |
return output7
|
119 |
+
time.sleep()
|
120 |
|
121 |
def send_it8(inputs, noise_level, proc1=proc1):
|
122 |
global queue_length_counter
|
|
|
141 |
output = text_gen(prompt_text)
|
142 |
queue_length_counter += 1
|
143 |
return output
|
144 |
+
time.sleep()
|
145 |
|
146 |
|
147 |
with gr.Blocks() as myface:
|