Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ from timm.data.transforms_factory import create_transform
|
|
9 |
title = "Image Classifier Four -- Timm Resnet-50"
|
10 |
description = """This machine has vision. It can see objects and concepts in an image. To test the machine, upload or drop an image, submit and read the results. The results comprise a list of words that the machine sees in the image. Beside a word, the length of the bar indicates the confidence with which the machine sees the word. The longer the bar, the more confident the machine is.
|
11 |
"""
|
12 |
-
article = "This app was made by following [this
|
13 |
|
14 |
IMAGENET_1K_URL = "https://storage.googleapis.com/bit_models/ilsvrc2012_wordnet_lemmas.txt"
|
15 |
LABELS = requests.get(IMAGENET_1K_URL).text.strip().split("\n")
|
|
|
9 |
title = "Image Classifier Four -- Timm Resnet-50"
|
10 |
description = """This machine has vision. It can see objects and concepts in an image. To test the machine, upload or drop an image, submit and read the results. The results comprise a list of words that the machine sees in the image. Beside a word, the length of the bar indicates the confidence with which the machine sees the word. The longer the bar, the more confident the machine is.
|
11 |
"""
|
12 |
+
article = "This app was made by following [this guys' space](https://huggingface.co/spaces/nateraw/gradio-demo)."
|
13 |
|
14 |
IMAGENET_1K_URL = "https://storage.googleapis.com/bit_models/ilsvrc2012_wordnet_lemmas.txt"
|
15 |
LABELS = requests.get(IMAGENET_1K_URL).text.strip().split("\n")
|