Update template/index.html
Browse files- 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 %}
|