DrishtiSharma commited on
Commit
8e4cbbb
1 Parent(s): 90803ce

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -29,10 +29,9 @@ example_sentence_2 = "Awesome movie! Loved the way in which the hero acted."
29
  examples = [[example_sentence_1], [example_sentence_2]]
30
 
31
  description = "Write out a movie review to know the underlying sentiment."
 
32
 
33
  gr.Interface(decide, inputs= gr.inputs.Textbox( lines=1, placeholder=None, default="", label=None), outputs='text', examples=examples,
34
  title="Sentiment analysis of movie reviews", theme = "grass", description=description, allow_flagging="auto",
35
- flagging_dir='flagging records', article = "<div style='text-align: center;'><a href='https://huggingface.co/DrishtiSharma' target='_blank'>Space by Drishti
36
- Sharma</a><br><a href='https://keras.io/examples/nlp/bidirectional_lstm_imdb/' target='_blank'>Keras example by François Chollet </a>
37
- </div>").launch(enable_queue = True,
38
  inline=False, share = True)
 
29
  examples = [[example_sentence_1], [example_sentence_2]]
30
 
31
  description = "Write out a movie review to know the underlying sentiment."
32
+ article = "<div style='text-align: center;'><a href='https://huggingface.co/DrishtiSharma' target='_blank'>Space by Drishti Sharma</a><br><a href='https://keras.io/examples/nlp/bidirectional_lstm_imdb/' target='_blank'>Keras example by François Chollet</a></div>"
33
 
34
  gr.Interface(decide, inputs= gr.inputs.Textbox( lines=1, placeholder=None, default="", label=None), outputs='text', examples=examples,
35
  title="Sentiment analysis of movie reviews", theme = "grass", description=description, allow_flagging="auto",
36
+ flagging_dir='flagging records', article = article).launch(enable_queue = True,
 
 
37
  inline=False, share = True)