Update app.py
Browse files
app.py
CHANGED
@@ -106,5 +106,5 @@ def ac():
|
|
106 |
#btn2.click(noth,None,message,cancels=[b1,sta,b2,b3,b4,b5,swi],show_progress=False)
|
107 |
btn2.click(clear_all, None,[fac_b,put,out1,out2,out3,out4,t_state,t_switch,message],cancels=[b1,sta,b2,b3,b4,b5,swi],show_progress=False)
|
108 |
b.queue(concurrency_count=100).launch(show_api=False)
|
109 |
-
interface = gr.Interface(title="Text-to-Image
|
110 |
ac()
|
|
|
106 |
#btn2.click(noth,None,message,cancels=[b1,sta,b2,b3,b4,b5,swi],show_progress=False)
|
107 |
btn2.click(clear_all, None,[fac_b,put,out1,out2,out3,out4,t_state,t_switch,message],cancels=[b1,sta,b2,b3,b4,b5,swi],show_progress=False)
|
108 |
b.queue(concurrency_count=100).launch(show_api=False)
|
109 |
+
interface = gr.Interface(fn=generate_image, inputs=[prompt_field], outputs=[image_preview], title="Text-to-Image")
|
110 |
ac()
|