phenomenon1981 commited on
Commit
fe8709c
·
1 Parent(s): ff36448

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -9
app.py CHANGED
@@ -28,7 +28,7 @@ def send_it1(inputs, noise_level, proc1=proc1):
28
  queue_length_counter = 0
29
  output1 = proc1(prompt_with_noise)
30
  queue_length_counter += 1
31
- time.sleep(1)
32
  return output1
33
 
34
  def send_it2(inputs, noise_level, proc1=proc1):
@@ -40,7 +40,7 @@ def send_it2(inputs, noise_level, proc1=proc1):
40
  queue_length_counter = 0
41
  output2 = proc1(prompt_with_noise)
42
  queue_length_counter += 1
43
- time.sleep(1)
44
  return output2
45
 
46
  def send_it3(inputs, noise_level, proc1=proc1):
@@ -52,7 +52,7 @@ def send_it3(inputs, noise_level, proc1=proc1):
52
  queue_length_counter = 0
53
  output3 = proc1(prompt_with_noise)
54
  queue_length_counter += 1
55
- time.sleep(1)
56
  return output3
57
 
58
  def send_it4(inputs, noise_level, proc1=proc1):
@@ -64,7 +64,7 @@ def send_it4(inputs, noise_level, proc1=proc1):
64
  queue_length_counter = 0
65
  output4 = proc1(prompt_with_noise)
66
  queue_length_counter += 1
67
- time.sleep(1)
68
  return output4
69
 
70
  def send_it5(inputs, noise_level, proc5=proc5):
@@ -76,7 +76,7 @@ def send_it5(inputs, noise_level, proc5=proc5):
76
  queue_length_counter = 0
77
  output5 = proc5(prompt_with_noise)
78
  queue_length_counter += 1
79
- time.sleep(1)
80
  return output5
81
 
82
  def send_it6(inputs, noise_level, proc5=proc5):
@@ -88,7 +88,7 @@ def send_it6(inputs, noise_level, proc5=proc5):
88
  queue_length_counter = 0
89
  output6 = proc5(prompt_with_noise)
90
  queue_length_counter += 1
91
- time.sleep(1)
92
  return output6
93
 
94
  def send_it7(inputs, noise_level, proc5=proc5):
@@ -100,7 +100,7 @@ def send_it7(inputs, noise_level, proc5=proc5):
100
  queue_length_counter = 0
101
  output7 = proc5(prompt_with_noise)
102
  queue_length_counter += 1
103
- time.sleep(1)
104
  return output7
105
 
106
  def send_it8(inputs, noise_level, proc5=proc5):
@@ -112,7 +112,7 @@ def send_it8(inputs, noise_level, proc5=proc5):
112
  queue_length_counter = 0
113
  output8 = proc5(prompt_with_noise)
114
  queue_length_counter += 1
115
- time.sleep(1)
116
  return output8
117
 
118
 
@@ -125,7 +125,7 @@ def get_prompts(prompt_text):
125
  queue_length_counter = 0
126
  output = text_gen(prompt_text)
127
  queue_length_counter += 1
128
- time.sleep(1)
129
  return output
130
 
131
 
 
28
  queue_length_counter = 0
29
  output1 = proc1(prompt_with_noise)
30
  queue_length_counter += 1
31
+ time.sleep(2)
32
  return output1
33
 
34
  def send_it2(inputs, noise_level, proc1=proc1):
 
40
  queue_length_counter = 0
41
  output2 = proc1(prompt_with_noise)
42
  queue_length_counter += 1
43
+ time.sleep(2)
44
  return output2
45
 
46
  def send_it3(inputs, noise_level, proc1=proc1):
 
52
  queue_length_counter = 0
53
  output3 = proc1(prompt_with_noise)
54
  queue_length_counter += 1
55
+ time.sleep(2)
56
  return output3
57
 
58
  def send_it4(inputs, noise_level, proc1=proc1):
 
64
  queue_length_counter = 0
65
  output4 = proc1(prompt_with_noise)
66
  queue_length_counter += 1
67
+ time.sleep(2)
68
  return output4
69
 
70
  def send_it5(inputs, noise_level, proc5=proc5):
 
76
  queue_length_counter = 0
77
  output5 = proc5(prompt_with_noise)
78
  queue_length_counter += 1
79
+ time.sleep(2)
80
  return output5
81
 
82
  def send_it6(inputs, noise_level, proc5=proc5):
 
88
  queue_length_counter = 0
89
  output6 = proc5(prompt_with_noise)
90
  queue_length_counter += 1
91
+ time.sleep(2)
92
  return output6
93
 
94
  def send_it7(inputs, noise_level, proc5=proc5):
 
100
  queue_length_counter = 0
101
  output7 = proc5(prompt_with_noise)
102
  queue_length_counter += 1
103
+ time.sleep(2)
104
  return output7
105
 
106
  def send_it8(inputs, noise_level, proc5=proc5):
 
112
  queue_length_counter = 0
113
  output8 = proc5(prompt_with_noise)
114
  queue_length_counter += 1
115
+ time.sleep(2)
116
  return output8
117
 
118
 
 
125
  queue_length_counter = 0
126
  output = text_gen(prompt_text)
127
  queue_length_counter += 1
128
+ time.sleep(2)
129
  return output
130
 
131