Yntec commited on
Commit
d845c5f
·
1 Parent(s): 26c1de1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -5
app.py CHANGED
@@ -206,11 +206,7 @@ with gr.Blocks(css=css) as myface:
206
  #else:
207
  # prompt1=magic1
208
 
209
- if(magic1==""):
210
- run.click(send_it1, inputs=[prompt, model_name1], outputs=[output1])
211
- else:
212
- run.click(send_it1, inputs=[magic1, model_name1], outputs=[output1])
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])
 
206
  #else:
207
  # prompt1=magic1
208
 
209
+ run.click(send_it1, inputs=[magic1, model_name1], outputs=[output1])
 
 
 
 
210
  run.click(send_it2, inputs=[magic2, model_name1], outputs=[output2])
211
  run.click(send_it3, inputs=[magic3, model_name1], outputs=[output3])
212
  run.click(send_it4, inputs=[magic4, model_name1], outputs=[output4])