Spaces:
Sleeping
Sleeping
Stanford-TH
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -16,7 +16,7 @@ def classify_movie_genre(description):
|
|
16 |
iface = gr.Interface(
|
17 |
fn=classify_movie_genre,
|
18 |
inputs="text",
|
19 |
-
outputs=gr.outputs.Label(num_top_classes=
|
20 |
)
|
21 |
|
22 |
# Launch the Gradio interface
|
|
|
16 |
iface = gr.Interface(
|
17 |
fn=classify_movie_genre,
|
18 |
inputs="text",
|
19 |
+
outputs=gr.outputs.Label(num_top_classes=3)
|
20 |
)
|
21 |
|
22 |
# Launch the Gradio interface
|