Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -17,10 +17,10 @@ description = "European Mushroom Common Genus Image Classifier trained on the Ka
|
|
17 |
article="<p style='text-align: center'><a href='https://tmabraham.github.io/blog/gradio_hf_spaces_tutorial' target='_blank'>Blog post</a></p>"
|
18 |
examples = ['Amanita.jpg']
|
19 |
interpretation='default'
|
20 |
-
allow_queue=True
|
21 |
|
22 |
gr.Interface(fn=predict,
|
23 |
-
inputs=Image(shape=(
|
24 |
outputs=Label(num_top_classes=3),
|
25 |
title=title,
|
26 |
description=description,
|
|
|
17 |
article="<p style='text-align: center'><a href='https://tmabraham.github.io/blog/gradio_hf_spaces_tutorial' target='_blank'>Blog post</a></p>"
|
18 |
examples = ['Amanita.jpg']
|
19 |
interpretation='default'
|
20 |
+
allow_queue=True
|
21 |
|
22 |
gr.Interface(fn=predict,
|
23 |
+
inputs=Image(shape=(224, 224)),
|
24 |
outputs=Label(num_top_classes=3),
|
25 |
title=title,
|
26 |
description=description,
|