tclopess commited on
Commit
5f111db
·
verified ·
1 Parent(s): cffd9a2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -58,6 +58,8 @@ app_examples = [
58
 
59
  ]
60
 
 
 
61
  inputs = [
62
  gr.Textbox(label="text", value=app_examples[0][0]),
63
 
@@ -65,5 +67,5 @@ inputs = [
65
 
66
 
67
  label = gr.outputs.Label(num_top_classes=4)
68
- iface = gr.Interface(fn=classify_movie_genre, inputs=inputs, outputs=label, examples=app_examples)
69
  iface.launch(inline=False)
 
58
 
59
  ]
60
 
61
+ app_title = "Movie Genre Classifier"
62
+
63
  inputs = [
64
  gr.Textbox(label="text", value=app_examples[0][0]),
65
 
 
67
 
68
 
69
  label = gr.outputs.Label(num_top_classes=4)
70
+ iface = gr.Interface(fn=classify_movie_genre, inputs=inputs, outputs=label, examples=app_examples, title=app_title)
71
  iface.launch(inline=False)