PhuongPhan commited on
Commit
424d027
1 Parent(s): 06617bc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -38,4 +38,4 @@ import gradio as gr
38
  gr.Interface(fn=predict,
39
  inputs=gr.Image(type="pil"), # creates the component and handles the preprocessing to convert that to a PIL image
40
  outputs=gr.Label(num_top_classes=3), #a Label, which displays the top labels in a nice form. Since we don't want to show all 1,000 class labels, we will customize it to show only the top 3 images by constructing it as
41
- examples=["lion.jpg", "cheetah.jpg"]).launch()
 
38
  gr.Interface(fn=predict,
39
  inputs=gr.Image(type="pil"), # creates the component and handles the preprocessing to convert that to a PIL image
40
  outputs=gr.Label(num_top_classes=3), #a Label, which displays the top labels in a nice form. Since we don't want to show all 1,000 class labels, we will customize it to show only the top 3 images by constructing it as
41
+ examples=["lion.jpg", "cheetah.jpg"]).launch(share=True)