Commit
·
8d7bee4
1
Parent(s):
010a8fb
Update app.py
Browse files
app.py
CHANGED
@@ -21,11 +21,6 @@ if st.button("Analyze Sentiment"):
|
|
21 |
st.text("Sentiment Analysis Output:")
|
22 |
st.text(output)
|
23 |
|
24 |
-
def get_user_input():
|
25 |
-
user_query = user_input.get("1.0", tk.END).strip()
|
26 |
-
output_text.delete(1.0, tk.END) # Clear previous output
|
27 |
-
output = query({"inputs": user_query})
|
28 |
-
output_text.insert(tk.END, output)
|
29 |
|
30 |
|
31 |
|
|
|
21 |
st.text("Sentiment Analysis Output:")
|
22 |
st.text(output)
|
23 |
|
|
|
|
|
|
|
|
|
|
|
24 |
|
25 |
|
26 |
|