Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -200,12 +200,16 @@ with gr.Blocks(css=css) as myface:
|
|
200 |
|
201 |
model_name1.change(set_model,inputs=model_name1,outputs=[output1,output2,output3,output4,output5,output6,output7,output8])
|
202 |
|
|
|
|
|
|
|
|
|
|
|
203 |
if(magic1==""):
|
204 |
-
|
205 |
else:
|
206 |
-
|
207 |
-
|
208 |
-
run.click(send_it1, inputs=[prompt1, model_name1], outputs=[output1])
|
209 |
run.click(send_it2, inputs=[magic2, model_name1], outputs=[output2])
|
210 |
run.click(send_it3, inputs=[magic3, model_name1], outputs=[output3])
|
211 |
run.click(send_it4, inputs=[magic4, model_name1], outputs=[output4])
|
|
|
200 |
|
201 |
model_name1.change(set_model,inputs=model_name1,outputs=[output1,output2,output3,output4,output5,output6,output7,output8])
|
202 |
|
203 |
+
|
204 |
+
# prompt1=f"{prompt}"
|
205 |
+
#else:
|
206 |
+
# prompt1=magic1
|
207 |
+
|
208 |
if(magic1==""):
|
209 |
+
run.click(send_it1, inputs=[prompt, model_name1], outputs=[output1])
|
210 |
else:
|
211 |
+
run.click(send_it1, inputs=[magic1, model_name1], outputs=[output1])
|
212 |
+
|
|
|
213 |
run.click(send_it2, inputs=[magic2, model_name1], outputs=[output2])
|
214 |
run.click(send_it3, inputs=[magic3, model_name1], outputs=[output3])
|
215 |
run.click(send_it4, inputs=[magic4, model_name1], outputs=[output4])
|