Spaces:
Runtime error
Runtime error
phenomenon1981
commited on
Commit
•
9bcda35
1
Parent(s):
aff6cf1
Update app.py
Browse files
app.py
CHANGED
@@ -20,49 +20,49 @@ def add_random_noise(prompt, noise_level=0.1):
|
|
20 |
def send_it1(inputs, noise_level, proc1=proc1):
|
21 |
prompt_with_noise = add_random_noise(inputs, noise_level)
|
22 |
output1=proc1(prompt_with_noise)
|
23 |
-
time.sleep(
|
24 |
return output1
|
25 |
|
26 |
def send_it2(inputs, noise_level, proc1=proc1):
|
27 |
prompt_with_noise = add_random_noise(inputs, noise_level)
|
28 |
output2 = proc1(prompt_with_noise)
|
29 |
-
time.sleep(
|
30 |
return output2
|
31 |
|
32 |
def send_it3(inputs, noise_level, proc1=proc1):
|
33 |
prompt_with_noise = add_random_noise(inputs, noise_level)
|
34 |
output3 = proc1(prompt_with_noise)
|
35 |
-
time.sleep(
|
36 |
return output3
|
37 |
|
38 |
def send_it4(inputs, noise_level, proc1=proc1):
|
39 |
prompt_with_noise = add_random_noise(inputs, noise_level)
|
40 |
output4 = proc1(prompt_with_noise)
|
41 |
-
time.sleep(
|
42 |
return output4
|
43 |
|
44 |
def send_it5(inputs, noise_level, proc5=proc5):
|
45 |
prompt_with_noise = add_random_noise(inputs, noise_level)
|
46 |
output5 = proc5(prompt_with_noise)
|
47 |
-
time.sleep(
|
48 |
return output5
|
49 |
|
50 |
def send_it6(inputs, noise_level, proc5=proc5):
|
51 |
prompt_with_noise = add_random_noise(inputs, noise_level)
|
52 |
output6 = proc5(prompt_with_noise)
|
53 |
-
time.sleep(
|
54 |
return output6
|
55 |
|
56 |
def send_it7(inputs, noise_level, proc5=proc5):
|
57 |
prompt_with_noise = add_random_noise(inputs, noise_level)
|
58 |
output7 = proc5(prompt_with_noise)
|
59 |
-
time.sleep(
|
60 |
return output7
|
61 |
|
62 |
def send_it8(inputs, noise_level, proc5=proc5):
|
63 |
prompt_with_noise = add_random_noise(inputs, noise_level)
|
64 |
output8 = proc5(prompt_with_noise)
|
65 |
-
time.sleep(
|
66 |
return output8
|
67 |
|
68 |
|
|
|
20 |
def send_it1(inputs, noise_level, proc1=proc1):
|
21 |
prompt_with_noise = add_random_noise(inputs, noise_level)
|
22 |
output1=proc1(prompt_with_noise)
|
23 |
+
time.sleep(5)
|
24 |
return output1
|
25 |
|
26 |
def send_it2(inputs, noise_level, proc1=proc1):
|
27 |
prompt_with_noise = add_random_noise(inputs, noise_level)
|
28 |
output2 = proc1(prompt_with_noise)
|
29 |
+
time.sleep(5)
|
30 |
return output2
|
31 |
|
32 |
def send_it3(inputs, noise_level, proc1=proc1):
|
33 |
prompt_with_noise = add_random_noise(inputs, noise_level)
|
34 |
output3 = proc1(prompt_with_noise)
|
35 |
+
time.sleep(5)
|
36 |
return output3
|
37 |
|
38 |
def send_it4(inputs, noise_level, proc1=proc1):
|
39 |
prompt_with_noise = add_random_noise(inputs, noise_level)
|
40 |
output4 = proc1(prompt_with_noise)
|
41 |
+
time.sleep(5)
|
42 |
return output4
|
43 |
|
44 |
def send_it5(inputs, noise_level, proc5=proc5):
|
45 |
prompt_with_noise = add_random_noise(inputs, noise_level)
|
46 |
output5 = proc5(prompt_with_noise)
|
47 |
+
time.sleep(5)
|
48 |
return output5
|
49 |
|
50 |
def send_it6(inputs, noise_level, proc5=proc5):
|
51 |
prompt_with_noise = add_random_noise(inputs, noise_level)
|
52 |
output6 = proc5(prompt_with_noise)
|
53 |
+
time.sleep(5)
|
54 |
return output6
|
55 |
|
56 |
def send_it7(inputs, noise_level, proc5=proc5):
|
57 |
prompt_with_noise = add_random_noise(inputs, noise_level)
|
58 |
output7 = proc5(prompt_with_noise)
|
59 |
+
time.sleep(5)
|
60 |
return output7
|
61 |
|
62 |
def send_it8(inputs, noise_level, proc5=proc5):
|
63 |
prompt_with_noise = add_random_noise(inputs, noise_level)
|
64 |
output8 = proc5(prompt_with_noise)
|
65 |
+
time.sleep(5)
|
66 |
return output8
|
67 |
|
68 |
|