Spaces:
Runtime error
Runtime error
phenomenon1981
commited on
Commit
·
da72c43
1
Parent(s):
dd978c0
Update app.py
Browse files
app.py
CHANGED
@@ -45,13 +45,11 @@ def add_random_noise(prompt, noise_level=0.07):
|
|
45 |
|
46 |
def send_it1(inputs, noise_level, proc1=proc1):
|
47 |
prompt_with_noise = add_random_noise(inputs, noise_level)
|
48 |
-
queue.put(prompt_with_noise)
|
49 |
output1 = proc1(prompt_with_noise)
|
50 |
return output1
|
51 |
|
52 |
def send_it2(inputs, noise_level, proc1=proc1):
|
53 |
prompt_with_noise = add_random_noise(inputs, noise_level)
|
54 |
-
queue.put(prompt_with_noise)
|
55 |
output2 = proc1(prompt_with_noise)
|
56 |
return output2
|
57 |
|
|
|
45 |
|
46 |
def send_it1(inputs, noise_level, proc1=proc1):
|
47 |
prompt_with_noise = add_random_noise(inputs, noise_level)
|
|
|
48 |
output1 = proc1(prompt_with_noise)
|
49 |
return output1
|
50 |
|
51 |
def send_it2(inputs, noise_level, proc1=proc1):
|
52 |
prompt_with_noise = add_random_noise(inputs, noise_level)
|
|
|
53 |
output2 = proc1(prompt_with_noise)
|
54 |
return output2
|
55 |
|