Spaces:
Sleeping
Sleeping
unknown
commited on
Commit
•
764f2a7
1
Parent(s):
b87b96d
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.outputs.
|
26 |
-
iface = gr.Interface(fn=classify_movie_genre, inputs="text", outputs=
|
27 |
iface.launch(inline=False)
|
|
|
22 |
return dict(zip(genres, map(float, probs)))
|
23 |
|
24 |
|
25 |
+
label = gr.outputs.labels()
|
26 |
+
iface = gr.Interface(fn=classify_movie_genre, inputs="text", outputs=label)
|
27 |
iface.launch(inline=False)
|