Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -398,5 +398,14 @@ with demo:
|
|
| 398 |
outputs=[output_image]
|
| 399 |
)
|
| 400 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 401 |
if __name__ == "__main__":
|
| 402 |
-
|
|
|
|
|
|
| 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 |
+
|