Spaces:
Sleeping
Sleeping
unknown
commited on
Commit
•
fc10a2b
1
Parent(s):
64a33d8
Add application file
Browse files
app.py
CHANGED
@@ -22,6 +22,6 @@ def classify_movie_genre(Overview):
|
|
22 |
return dict(zip(genres, map(float, probs)))
|
23 |
|
24 |
|
25 |
-
label = gr.
|
26 |
-
iface = gr.Interface(fn=classify_movie_genre, inputs="text",
|
27 |
iface.launch(inline=False)
|
|
|
22 |
return dict(zip(genres, map(float, probs)))
|
23 |
|
24 |
|
25 |
+
label = gr.outputs.Label()
|
26 |
+
iface = gr.Interface(fn=classify_movie_genre, inputs="text", outputs=label)
|
27 |
iface.launch(inline=False)
|