freddyal commited on
Commit
3927987
·
1 Parent(s): 8b25951

Added a feature to allow sharing in hugging face discussion and removed the width and height sizes.

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -79,9 +79,8 @@ interface = gr.Interface(
79
  fn=classify_image,
80
  inputs=gr.Image(
81
  type='pil',
82
- height=512,
83
- width=512,
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,