Update app.py
Browse files
app.py
CHANGED
@@ -16,9 +16,9 @@ def virtual_try_on(image, clothing_image):
|
|
16 |
# Set up a simple Gradio interface for testing
|
17 |
interface = gr.Interface(
|
18 |
fn=virtual_try_on,
|
19 |
-
inputs=[gr.
|
20 |
-
gr.
|
21 |
-
outputs="
|
22 |
title="Virtual Dress Try-On",
|
23 |
description="Upload an image of yourself and a clothing image to try it on virtually!"
|
24 |
)
|
|
|
16 |
# Set up a simple Gradio interface for testing
|
17 |
interface = gr.Interface(
|
18 |
fn=virtual_try_on,
|
19 |
+
inputs=[gr.Image(type="pil", label="User Image"),
|
20 |
+
gr.Image(type="pil", label="Clothing Image")],
|
21 |
+
outputs=gr.Image(type="pil"),
|
22 |
title="Virtual Dress Try-On",
|
23 |
description="Upload an image of yourself and a clothing image to try it on virtually!"
|
24 |
)
|