phenomenon1981 commited on
Commit
7ad90c4
·
1 Parent(s): 32e9835

Update app.py

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