Spaces:
Runtime error
Runtime error
updated size
Browse files- app.py +1 -1
- requirements.txt +2 -1
app.py
CHANGED
@@ -11,7 +11,7 @@ def classify_image(img):
|
|
11 |
return dict(zip(categories, map(float, prob)))
|
12 |
|
13 |
|
14 |
-
image = gr.inputs.Image(192, 192)
|
15 |
label = gr.outputs.Label()
|
16 |
examples = ["mario.jpg", "popeye.png"]
|
17 |
|
|
|
11 |
return dict(zip(categories, map(float, prob)))
|
12 |
|
13 |
|
14 |
+
image = gr.inputs.Image(shape=(192, 192))
|
15 |
label = gr.outputs.Label()
|
16 |
examples = ["mario.jpg", "popeye.png"]
|
17 |
|
requirements.txt
CHANGED
@@ -2,4 +2,5 @@ fastai
|
|
2 |
torch
|
3 |
gradio
|
4 |
numpy
|
5 |
-
pandas
|
|
|
|
2 |
torch
|
3 |
gradio
|
4 |
numpy
|
5 |
+
pandas
|
6 |
+
pillow
|