Stanford-TH commited on
Commit
19b9239
1 Parent(s): 573c27a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -16,7 +16,8 @@ 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=3)
 
20
  )
21
 
22
  # Launch the Gradio interface
 
16
  iface = gr.Interface(
17
  fn=classify_movie_genre,
18
  inputs="text",
19
+ live=True,
20
+ title="Genre Prediction"
21
  )
22
 
23
  # Launch the Gradio interface