Spaces:
Runtime error
Runtime error
revert
Browse files- run/gradio_ootd.py +1 -8
run/gradio_ootd.py
CHANGED
|
@@ -271,11 +271,4 @@ with block:
|
|
| 271 |
ips_dc = [vton_img_dc, garm_img_dc, category_dc, n_samples_dc, n_steps_dc, image_scale_dc, seed_dc]
|
| 272 |
run_button_dc.click(fn=process_dc, inputs=ips_dc, outputs=[result_gallery_dc])
|
| 273 |
|
| 274 |
-
|
| 275 |
-
|
| 276 |
-
app = FastAPI()
|
| 277 |
-
@app.get("/")
|
| 278 |
-
def read_main():
|
| 279 |
-
return {"message": "This is your main app"}
|
| 280 |
-
|
| 281 |
-
app = gr.mount_gradio_app(app, block, path=CUSTOM_PATH)
|
|
|
|
| 271 |
ips_dc = [vton_img_dc, garm_img_dc, category_dc, n_samples_dc, n_steps_dc, image_scale_dc, seed_dc]
|
| 272 |
run_button_dc.click(fn=process_dc, inputs=ips_dc, outputs=[result_gallery_dc])
|
| 273 |
|
| 274 |
+
block.launch()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|