Puyush commited on
Commit
14d09ee
1 Parent(s): 5c11c88

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -153,6 +153,6 @@ model = keras.models.load_model("twitter_sentiment.keras",
153
  # Load tokenizer
154
  tokenizer = load_tokenizer('tokenizer.pkl')
155
 
156
- interface = gr.Interface(fn=analyze_text, inputs='text',
157
  outputs='text',title='Twitter Sentimental Analysis', theme='darkhuggingface')
158
  interface.launch(inline=False)
 
153
  # Load tokenizer
154
  tokenizer = load_tokenizer('tokenizer.pkl')
155
 
156
+ interface = gr.Interface(fn=analyze_text, inputs=gr.inputs.Textbox(lines=2, placeholder="Enter the text here."),
157
  outputs='text',title='Twitter Sentimental Analysis', theme='darkhuggingface')
158
  interface.launch(inline=False)