Update app.py
Browse files
app.py
CHANGED
|
@@ -267,6 +267,6 @@ title="efficientnet_b0"
|
|
| 267 |
description="Gradio Demo for efficientnet_b0: Imagenet (ILSVRC-2012-CLS) classification with EfficientNet-B0. To use it, simply upload your image or click on one of the examples to load them. Read more at the links below"
|
| 268 |
|
| 269 |
article = "<p style='text-align: center'><a href='https://tfhub.dev/google/efficientnet/b0/classification/1' target='_blank'>Tensorflow Hub</a></p>"
|
| 270 |
-
examples=[['apple1.jpg']]
|
| 271 |
|
| 272 |
-
gr.Interface(inference,gr.inputs.Image(type="filepath"),"label",title=title,description=description,article=article
|
|
|
|
| 267 |
description="Gradio Demo for efficientnet_b0: Imagenet (ILSVRC-2012-CLS) classification with EfficientNet-B0. To use it, simply upload your image or click on one of the examples to load them. Read more at the links below"
|
| 268 |
|
| 269 |
article = "<p style='text-align: center'><a href='https://tfhub.dev/google/efficientnet/b0/classification/1' target='_blank'>Tensorflow Hub</a></p>"
|
| 270 |
+
# examples=[['apple1.jpg']]
|
| 271 |
|
| 272 |
+
gr.Interface(inference,gr.inputs.Image(type="filepath"),"label",title=title,description=description,article=article).launch(enable_queue=True)
|