From 2564d22adfdf79d9b3e99bf77f2e3fc749af2f1e Mon Sep 17 00:00:00 2001
From: ctt57 <ctt57@drexel.edu>
Date: Sun, 21 Apr 2024 08:16:23 -0400
Subject: [PATCH] trying to add  text box for analysis

---
 main.html | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/main.html b/main.html
index 03671d5..eb80d4f 100644
--- a/main.html
+++ b/main.html
@@ -95,7 +95,19 @@
                 <li><p>placeholder...</p></li>
             </ul>
         </section>
-
+        <!--<body>
+            <h1>Sentiment Scanner</h1>
+            <form action="/analyze" method="post">
+                <textarea name="text" rows="4" cols="50" placeholder="Enter text to analyze"></textarea><br>
+                <input type="submit" value="Analyze">
+            </form>
+            <body>
+                <h2>Analysis Result</h2>
+                <p><strong>Text:</strong> {{ text }}</p>
+                <p><strong>Sentiment:</strong> {{ sentiment_label }}</p>
+                <img src="/Middle.png" alt="Sentiment Image">
+            </body>
+        </body>-->
         <section>
             <h2>Contact</h2>
             <p>You can reach us at mjk488@drexel.edu.</p>
-- 
GitLab