Spaces:
Runtime error
Runtime error
Merge branch 'main' of https://huggingface.co/spaces/nedcpr/digit_classifier into main
Browse files
app.py
CHANGED
@@ -15,7 +15,7 @@ label = gr.outputs.Label()
|
|
15 |
title = "Sign Language Digit Classifier"
|
16 |
description = "A sign language digit classifier trained on a Kaggle dataset with fast.ai. Click on an example (6, 7, and 8) or upload an image and let the model classify it for you!"
|
17 |
interpretation='default'
|
18 |
-
examples= ['
|
19 |
enable_queue=True
|
20 |
|
21 |
gr.Interface(fn=classify_image,inputs=gr.inputs.Image(shape=(100, 100)),outputs=gr.outputs.Label(num_top_classes=3),title=title,description=description,examples=examples).launch()
|
15 |
title = "Sign Language Digit Classifier"
|
16 |
description = "A sign language digit classifier trained on a Kaggle dataset with fast.ai. Click on an example (6, 7, and 8) or upload an image and let the model classify it for you!"
|
17 |
interpretation='default'
|
18 |
+
examples= ['6.JPG', '7.JPG', '8.JPG']
|
19 |
enable_queue=True
|
20 |
|
21 |
gr.Interface(fn=classify_image,inputs=gr.inputs.Image(shape=(100, 100)),outputs=gr.outputs.Label(num_top_classes=3),title=title,description=description,examples=examples).launch()
|