Spaces:
Sleeping
Sleeping
HeavenWaters
commited on
Commit
•
e372f06
1
Parent(s):
82d12e2
Update app.py
Browse files
app.py
CHANGED
@@ -25,7 +25,7 @@ if prompt := st.chat_input("Ask me anything related to income tax..."):
|
|
25 |
with st.expander("Assistant Response", expanded=True):
|
26 |
with st.spinner("I'm thinking..."):
|
27 |
# Define the URL of the API endpoint
|
28 |
-
url = "http://localhost:
|
29 |
# Define the data you want to send in the request body
|
30 |
data = {"userMsg": prompt}
|
31 |
# Make the POST request
|
|
|
25 |
with st.expander("Assistant Response", expanded=True):
|
26 |
with st.spinner("I'm thinking..."):
|
27 |
# Define the URL of the API endpoint
|
28 |
+
url = "http://localhost:5000/send_to_backend"
|
29 |
# Define the data you want to send in the request body
|
30 |
data = {"userMsg": prompt}
|
31 |
# Make the POST request
|