kaju1611 commited on
Commit
be9eaba
·
verified ·
1 Parent(s): 8c4be47

Update template/index.html

Browse files
Files changed (1) hide show
  1. template/index.html +1 -1
template/index.html CHANGED
@@ -225,7 +225,7 @@
225
  <div class="container">
226
  <h1>Twitter Sentiment Analysis</h1>
227
  <form action="/predict" method="post">
228
- <textarea name="user_input" placeholder="Enter your tweet here..." required></textarea>
229
  <button type="submit">Analyze Sentiment</button>
230
  </form>
231
  {% if prediction_text %}
 
225
  <div class="container">
226
  <h1>Twitter Sentiment Analysis</h1>
227
  <form action="/predict" method="post">
228
+ <textarea name="user_input" placeholder="Enter your tweet here..." required>{{ user_text | default('') }}</textarea>
229
  <button type="submit">Analyze Sentiment</button>
230
  </form>
231
  {% if prediction_text %}