Yntec commited on
Commit
3ea585d
·
1 Parent(s): 40f0773

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -207,10 +207,10 @@ with gr.Blocks(css=css) as myface:
207
 
208
  run.click(send_it1, inputs=[magic1, model_name1], outputs=[output1])
209
 
210
- def magic2(magic1):
211
- magic2=f"happy, {magic1}"
212
- return(magic2)
213
-
214
  run.click(send_it2, inputs=[magic2, model_name1], outputs=[output2])
215
  run.click(send_it3, inputs=[magic3, model_name1], outputs=[output3])
216
  run.click(send_it4, inputs=[magic4, model_name1], outputs=[output4])
 
207
 
208
  run.click(send_it1, inputs=[magic1, model_name1], outputs=[output1])
209
 
210
+ #def magic2(magic1):
211
+ # magic2=f"happy, {magic1}"
212
+ # return(magic2)
213
+ run.click(short_prompt,inputs=[prompt],outputs=magic2)
214
  run.click(send_it2, inputs=[magic2, model_name1], outputs=[output2])
215
  run.click(send_it3, inputs=[magic3, model_name1], outputs=[output3])
216
  run.click(send_it4, inputs=[magic4, model_name1], outputs=[output4])