Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -203,8 +203,9 @@ with gr.Blocks(css=css) as myface:
|
|
203 |
model_name1.change(set_model,inputs=model_name1,outputs=[output1,output2,output3,output4,output5,output6,output7,output8])
|
204 |
|
205 |
if(magic1==""):
|
206 |
-
|
207 |
-
|
|
|
208 |
|
209 |
run.click(send_it1, inputs=[prompt1, model_name1], outputs=[output1])
|
210 |
run.click(send_it2, inputs=[magic2, model_name1], outputs=[output2])
|
|
|
203 |
model_name1.change(set_model,inputs=model_name1,outputs=[output1,output2,output3,output4,output5,output6,output7,output8])
|
204 |
|
205 |
if(magic1==""):
|
206 |
+
prompt1=f"{prompt}"
|
207 |
+
else:
|
208 |
+
prompt1=magic1
|
209 |
|
210 |
run.click(send_it1, inputs=[prompt1, model_name1], outputs=[output1])
|
211 |
run.click(send_it2, inputs=[magic2, model_name1], outputs=[output2])
|