unknown commited on
Commit
764f2a7
1 Parent(s): b87b96d

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.outputs.Label()
26
- iface = gr.Interface(fn=classify_movie_genre, inputs="text", outputs=labels)
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)