Spaces:
Running
Running
Update app.py
Browse files
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 |
-
|
212 |
-
|
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])
|