Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -16,8 +16,8 @@ def predict(img):
|
|
16 |
|
17 |
gr.Interface(
|
18 |
fn=predict,
|
19 |
-
inputs=gr.
|
20 |
-
outputs=gr.
|
21 |
title= "Movie Poster Genre Classifier",
|
22 |
examples=['3311988.jpg', '2460746.jpg', '4840666.jpg', '2104994.jpg'],
|
23 |
interpretation='default',
|
|
|
16 |
|
17 |
gr.Interface(
|
18 |
fn=predict,
|
19 |
+
inputs=gr.Image(shape=(182, 268)),
|
20 |
+
outputs=gr.Label(num_top_classes=3),
|
21 |
title= "Movie Poster Genre Classifier",
|
22 |
examples=['3311988.jpg', '2460746.jpg', '4840666.jpg', '2104994.jpg'],
|
23 |
interpretation='default',
|