phenomenon1981 commited on
Commit
32e9835
·
1 Parent(s): 0bae739

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -8
app.py CHANGED
@@ -38,51 +38,52 @@ def add_random_noise(prompt, noise_level=0.07):
38
  def send_it1(inputs, noise_level, proc1=proc1):
39
  prompt_with_noise = add_random_noise(inputs, noise_level)
40
  output1 = proc1(prompt_with_noise)
41
- time.sleep(5)
42
  return output1
 
43
 
44
  def send_it2(inputs, noise_level, proc1=proc1):
45
  prompt_with_noise = add_random_noise(inputs, noise_level)
46
  output2 = proc1(prompt_with_noise)
47
- time.sleep(5)
48
  return output2
 
49
 
50
  def send_it3(inputs, noise_level, proc1=proc1):
51
  prompt_with_noise = add_random_noise(inputs, noise_level)
52
  output3 = proc1(prompt_with_noise)
53
- time.sleep(5)
54
  return output3
 
55
 
56
  def send_it4(inputs, noise_level, proc1=proc1):
57
  prompt_with_noise = add_random_noise(inputs, noise_level)
58
  output4 = proc1(prompt_with_noise)
59
- time.sleep(5)
60
  return output4
 
61
 
62
  def send_it5(inputs, noise_level, proc1=proc1):
63
  prompt_with_noise = add_random_noise(inputs, noise_level)
64
  output5 = proc1(prompt_with_noise)
65
- time.sleep(5)
66
  return output5
 
67
 
68
  def send_it6(inputs, noise_level, proc1=proc1):
69
  prompt_with_noise = add_random_noise(inputs, noise_level)
70
  output6 = proc1(prompt_with_noise)
71
  time.sleep(5)
72
  return output6
 
73
 
74
  def send_it7(inputs, noise_level, proc1=proc1):
75
  prompt_with_noise = add_random_noise(inputs, noise_level)
76
  output7 = proc1(prompt_with_noise)
77
- time.sleep(5)
78
  return output7
 
 
79
 
80
  def send_it8(inputs, noise_level, proc1=proc1):
81
  prompt_with_noise = add_random_noise(inputs, noise_level)
82
  output8 = proc1(prompt_with_noise)
83
- time.sleep(5)
84
  return output8
85
-
86
 
87
  def get_prompts(prompt_text):
88
  return text_gen(prompt_text)
 
38
  def send_it1(inputs, noise_level, proc1=proc1):
39
  prompt_with_noise = add_random_noise(inputs, noise_level)
40
  output1 = proc1(prompt_with_noise)
 
41
  return output1
42
+ time.sleep(5)
43
 
44
  def send_it2(inputs, noise_level, proc1=proc1):
45
  prompt_with_noise = add_random_noise(inputs, noise_level)
46
  output2 = proc1(prompt_with_noise)
 
47
  return output2
48
+ time.sleep(5)
49
 
50
  def send_it3(inputs, noise_level, proc1=proc1):
51
  prompt_with_noise = add_random_noise(inputs, noise_level)
52
  output3 = proc1(prompt_with_noise)
 
53
  return output3
54
+ time.sleep(5)
55
 
56
  def send_it4(inputs, noise_level, proc1=proc1):
57
  prompt_with_noise = add_random_noise(inputs, noise_level)
58
  output4 = proc1(prompt_with_noise)
 
59
  return output4
60
+ time.sleep(5)
61
 
62
  def send_it5(inputs, noise_level, proc1=proc1):
63
  prompt_with_noise = add_random_noise(inputs, noise_level)
64
  output5 = proc1(prompt_with_noise)
 
65
  return output5
66
+ time.sleep(5)
67
 
68
  def send_it6(inputs, noise_level, proc1=proc1):
69
  prompt_with_noise = add_random_noise(inputs, noise_level)
70
  output6 = proc1(prompt_with_noise)
71
  time.sleep(5)
72
  return output6
73
+ time.sleep(5)
74
 
75
  def send_it7(inputs, noise_level, proc1=proc1):
76
  prompt_with_noise = add_random_noise(inputs, noise_level)
77
  output7 = proc1(prompt_with_noise)
 
78
  return output7
79
+ time.sleep(5)
80
+
81
 
82
  def send_it8(inputs, noise_level, proc1=proc1):
83
  prompt_with_noise = add_random_noise(inputs, noise_level)
84
  output8 = proc1(prompt_with_noise)
 
85
  return output8
86
+ time.sleep(5)
87
 
88
  def get_prompts(prompt_text):
89
  return text_gen(prompt_text)