phenomenon1981 commited on
Commit
2128976
·
1 Parent(s): 7c32a0c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -0
app.py CHANGED
@@ -39,6 +39,7 @@ def send_it1(inputs, noise_level, proc1=proc1):
39
  queue_length_counter = 0
40
  output1 = proc1(prompt_with_noise)
41
  queue_length_counter += 1
 
42
  return output1
43
  time.sleep(1)
44
 
@@ -51,6 +52,7 @@ def send_it2(inputs, noise_level, proc1=proc1):
51
  queue_length_counter = 0
52
  output2 = proc1(prompt_with_noise)
53
  queue_length_counter += 1
 
54
  return output2
55
  time.sleep(1)
56
 
@@ -63,6 +65,7 @@ def send_it3(inputs, noise_level, proc1=proc1):
63
  queue_length_counter = 0
64
  output3 = proc1(prompt_with_noise)
65
  queue_length_counter += 1
 
66
  return output3
67
  time.sleep(1)
68
 
@@ -75,6 +78,7 @@ def send_it4(inputs, noise_level, proc1=proc1):
75
  queue_length_counter = 0
76
  output4 = proc1(prompt_with_noise)
77
  queue_length_counter += 1
 
78
  return output4
79
  time.sleep(1)
80
 
@@ -87,6 +91,7 @@ def send_it5(inputs, noise_level, proc5=proc5):
87
  queue_length_counter = 0
88
  output5 = proc5(prompt_with_noise)
89
  queue_length_counter += 1
 
90
  return output5
91
  time.sleep(1)
92
 
@@ -99,6 +104,7 @@ def send_it6(inputs, noise_level, proc5=proc5):
99
  queue_length_counter = 0
100
  output6 = proc5(prompt_with_noise)
101
  queue_length_counter += 1
 
102
  return output6
103
  time.sleep(1)
104
 
@@ -111,6 +117,7 @@ def send_it7(inputs, noise_level, proc5=proc5):
111
  queue_length_counter = 0
112
  output7 = proc5(prompt_with_noise)
113
  queue_length_counter += 1
 
114
  return output7
115
  time.sleep(1)
116
 
@@ -123,6 +130,7 @@ def send_it8(inputs, noise_level, proc5=proc5):
123
  queue_length_counter = 0
124
  output8 = proc5(prompt_with_noise)
125
  queue_length_counter += 1
 
126
  return output8
127
  time.sleep(1)
128
 
@@ -136,6 +144,7 @@ def get_prompts(prompt_text):
136
  queue_length_counter = 0
137
  output = text_gen(prompt_text)
138
  queue_length_counter += 1
 
139
  return output
140
  time.sleep(1)
141
 
 
39
  queue_length_counter = 0
40
  output1 = proc1(prompt_with_noise)
41
  queue_length_counter += 1
42
+ time.sleep(3)
43
  return output1
44
  time.sleep(1)
45
 
 
52
  queue_length_counter = 0
53
  output2 = proc1(prompt_with_noise)
54
  queue_length_counter += 1
55
+ time.sleep(3)
56
  return output2
57
  time.sleep(1)
58
 
 
65
  queue_length_counter = 0
66
  output3 = proc1(prompt_with_noise)
67
  queue_length_counter += 1
68
+ time.sleep(3)
69
  return output3
70
  time.sleep(1)
71
 
 
78
  queue_length_counter = 0
79
  output4 = proc1(prompt_with_noise)
80
  queue_length_counter += 1
81
+ time.sleep(3)
82
  return output4
83
  time.sleep(1)
84
 
 
91
  queue_length_counter = 0
92
  output5 = proc5(prompt_with_noise)
93
  queue_length_counter += 1
94
+ time.sleep(3)
95
  return output5
96
  time.sleep(1)
97
 
 
104
  queue_length_counter = 0
105
  output6 = proc5(prompt_with_noise)
106
  queue_length_counter += 1
107
+ time.sleep(3)
108
  return output6
109
  time.sleep(1)
110
 
 
117
  queue_length_counter = 0
118
  output7 = proc5(prompt_with_noise)
119
  queue_length_counter += 1
120
+ time.sleep(3)
121
  return output7
122
  time.sleep(1)
123
 
 
130
  queue_length_counter = 0
131
  output8 = proc5(prompt_with_noise)
132
  queue_length_counter += 1
133
+ time.sleep(3)
134
  return output8
135
  time.sleep(1)
136
 
 
144
  queue_length_counter = 0
145
  output = text_gen(prompt_text)
146
  queue_length_counter += 1
147
+ time.sleep(3)
148
  return output
149
  time.sleep(1)
150