phenomenon1981 commited on
Commit
bd43a60
1 Parent(s): 39e9a15

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -8
app.py CHANGED
@@ -85,14 +85,14 @@ def add_noise(input_text):
85
  noise = ''.join(random.choice(string.ascii_letters) for i in range(5))
86
  return input_text + noise
87
 
88
- run.click(lambda: send_it1(add_noise(prompt.value)), outputs=[output1])
89
- run.click(lambda: send_it2(add_noise(prompt.value)), outputs=[output2])
90
- run.click(lambda: send_it3(add_noise(prompt.value)), outputs=[output3])
91
- run.click(lambda: send_it4(add_noise(prompt.value)), outputs=[output4])
92
- run.click(lambda: send_it5(add_noise(prompt.value)), outputs=[output5])
93
- run.click(lambda: send_it6(add_noise(prompt.value)), outputs=[output6])
94
- run.click(lambda: send_it7(add_noise(prompt.value)), outputs=[output7])
95
- run.click(lambda: send_it8(add_noise(prompt.value)), outputs=[output8])
96
 
97
 
98
  myface.queue(concurrency_count=8)
 
85
  noise = ''.join(random.choice(string.ascii_letters) for i in range(5))
86
  return input_text + noise
87
 
88
+ run.click(send_it1, inputs=[prompt], outputs=[output1])
89
+ run.click(send_it2, inputs=[prompt], outputs=[output2])
90
+ run.click(send_it3, inputs=[prompt], outputs=[output3])
91
+ run.click(send_it4, inputs=[prompt], outputs=[output4])
92
+ run.click(send_it5, inputs=[prompt], outputs=[output5])
93
+ run.click(send_it6, inputs=[prompt], outputs=[output6])
94
+ run.click(send_it7, inputs=[prompt], outputs=[output7])
95
+ run.click(send_it8, inputs=[prompt], outputs=[output8])
96
 
97
 
98
  myface.queue(concurrency_count=8)