Shunfeng Zheng commited on
Commit
3a0c26d
·
1 Parent(s): 7d707d7

Add Streamlit demo

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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-SpatialParse_back.hf.space/predict",
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
  )