Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -50,12 +50,7 @@ def classify_image_with_inception_net(im):
|
|
| 50 |
|
| 51 |
imagein = gr.inputs.Image()
|
| 52 |
label = gr.outputs.Label(num_top_classes=3)
|
| 53 |
-
|
| 54 |
-
["monkey.jpg"],
|
| 55 |
-
["sailboat.jpg"],
|
| 56 |
-
["bicycle.jpg"],
|
| 57 |
-
["download.jpg"],
|
| 58 |
-
]
|
| 59 |
|
| 60 |
|
| 61 |
# In[6]:
|
|
@@ -69,7 +64,7 @@ gr.Interface(
|
|
| 69 |
description="""Let's compare 2 state-of-the-art machine learning models that classify images into one of 1,000 categories: MobileNet (top),
|
| 70 |
a lightweight model that has an accuracy of 0.704, vs. InceptionNet
|
| 71 |
(bottom), a much heavier model that has an accuracy of 0.779.""",
|
| 72 |
-
|
| 73 |
|
| 74 |
|
| 75 |
|
|
|
|
| 50 |
|
| 51 |
imagein = gr.inputs.Image()
|
| 52 |
label = gr.outputs.Label(num_top_classes=3)
|
| 53 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 54 |
|
| 55 |
|
| 56 |
# In[6]:
|
|
|
|
| 64 |
description="""Let's compare 2 state-of-the-art machine learning models that classify images into one of 1,000 categories: MobileNet (top),
|
| 65 |
a lightweight model that has an accuracy of 0.704, vs. InceptionNet
|
| 66 |
(bottom), a much heavier model that has an accuracy of 0.779.""",
|
| 67 |
+
).launch()
|
| 68 |
|
| 69 |
|
| 70 |
|