Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -36,4 +36,10 @@ def inference(img):
|
|
36 |
|
37 |
return results
|
38 |
|
39 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
36 |
|
37 |
return results
|
38 |
|
39 |
+
title="EfficientNet"
|
40 |
+
description="Gradio demo for EfficientNet,EfficientNets are a family of image classification models, which achieve state-of-the-art accuracy, being an order-of-magnitude smaller and faster. Trained with mixed precision using Tensor Cores. To use it, simply upload your image or click on one of the examples below. Read more at the links below"
|
41 |
+
|
42 |
+
article = "<p style='text-align: center'><a href='https://arxiv.org/abs/1905.11946'>EfficientNet: Rethinking Model Scaling for Convolutional Neural Networks</a> | <a href='https://github.com/NVIDIA/DeepLearningExamples/tree/master/PyTorch/Classification/ConvNets/efficientnet'>Github Repo</a></p>"
|
43 |
+
|
44 |
+
examples=[['food.jpeg']]
|
45 |
+
gr.Interface(inference,gr.inputs.Image(type="pil"),"text",title=title,description=description,article=article,examples=examples).launch()
|