Spaces:
Runtime error
Runtime error
Shunfeng Zheng
commited on
Commit
·
3a0c26d
1
Parent(s):
7d707d7
Add Streamlit demo
Browse files
app.py
CHANGED
@@ -16,7 +16,7 @@ if st.button("Submit"):
|
|
16 |
with st.spinner("Calling secure backend..."):
|
17 |
try:
|
18 |
response = requests.post(
|
19 |
-
"https://dsbb0707-
|
20 |
json={"text": text},
|
21 |
timeout=20
|
22 |
)
|
|
|
16 |
with st.spinner("Calling secure backend..."):
|
17 |
try:
|
18 |
response = requests.post(
|
19 |
+
"https://dsbb0707--spatialparse-back.hf.space/predict",
|
20 |
json={"text": text},
|
21 |
timeout=20
|
22 |
)
|