Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -126,7 +126,13 @@ button:hover { background-color: #1500cc; }
|
|
| 126 |
""") as demo:
|
| 127 |
|
| 128 |
with gr.Group(elem_classes=["container"]):
|
| 129 |
-
input_image = gr.Image(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 130 |
analyze_button = gr.Button("🔥 Analyze My Fit")
|
| 131 |
|
| 132 |
category_html = gr.HTML()
|
|
|
|
| 126 |
""") as demo:
|
| 127 |
|
| 128 |
with gr.Group(elem_classes=["container"]):
|
| 129 |
+
input_image = gr.Image(
|
| 130 |
+
type='pil',
|
| 131 |
+
label="Upload or Snap a Photo",
|
| 132 |
+
sources=["upload", "webcam", "clipboard"],
|
| 133 |
+
tool="editor",
|
| 134 |
+
image_mode="RGB"
|
| 135 |
+
)
|
| 136 |
analyze_button = gr.Button("🔥 Analyze My Fit")
|
| 137 |
|
| 138 |
category_html = gr.HTML()
|