Spaces:
Runtime error
Runtime error
Added a feature to allow sharing in hugging face discussion and removed the width and height sizes.
Browse files
app.py
CHANGED
|
@@ -79,9 +79,8 @@ interface = gr.Interface(
|
|
| 79 |
fn=classify_image,
|
| 80 |
inputs=gr.Image(
|
| 81 |
type='pil',
|
| 82 |
-
|
| 83 |
-
|
| 84 |
-
label="Upload Image or take a photo"
|
| 85 |
),
|
| 86 |
outputs=gr.Label(num_top_classes=3),
|
| 87 |
title=title,
|
|
|
|
| 79 |
fn=classify_image,
|
| 80 |
inputs=gr.Image(
|
| 81 |
type='pil',
|
| 82 |
+
label="Upload Image or take a photo",
|
| 83 |
+
show_share_button=True
|
|
|
|
| 84 |
),
|
| 85 |
outputs=gr.Label(num_top_classes=3),
|
| 86 |
title=title,
|