unknown commited on
Commit
fc10a2b
1 Parent(s): 64a33d8

Add application file

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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.output.Label(num_top_classes=5)
26
- iface = gr.Interface(fn=classify_movie_genre, inputs="text", output=label)
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)