djrana commited on
Commit
fb40532
1 Parent(s): 8c9b5c5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 with runwayml/stable-diffusion-v1-5")
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()