Spaces:
ginipick
/
Running on Zero

aiqtech commited on
Commit
b58401c
1 Parent(s): be37028

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -1
app.py CHANGED
@@ -398,5 +398,14 @@ with demo:
398
  outputs=[output_image]
399
  )
400
 
 
 
 
 
 
 
 
 
401
  if __name__ == "__main__":
402
- app.launch(share=True)
 
 
398
  outputs=[output_image]
399
  )
400
 
401
+
402
+
403
+ tryon_btn.click(
404
+ fn=generate_image,
405
+ inputs=[prompt_input, structure_image, style_image, depth_strength, style_strength],
406
+ outputs=[output_image]
407
+ )
408
+
409
  if __name__ == "__main__":
410
+ demo.launch(share=True) # Changed from app.launch to demo.launch
411
+