Spaces:
Sleeping
Sleeping
Stanford-TH
commited on
Commit
•
2bacbcc
1
Parent(s):
19b9239
Update app.py
Browse files
app.py
CHANGED
@@ -16,6 +16,7 @@ def classify_movie_genre(description):
|
|
16 |
iface = gr.Interface(
|
17 |
fn=classify_movie_genre,
|
18 |
inputs="text",
|
|
|
19 |
live=True,
|
20 |
title="Genre Prediction"
|
21 |
)
|
|
|
16 |
iface = gr.Interface(
|
17 |
fn=classify_movie_genre,
|
18 |
inputs="text",
|
19 |
+
outputs=gr.Textbox(label="Genre Classification Result"),
|
20 |
live=True,
|
21 |
title="Genre Prediction"
|
22 |
)
|