Shunfeng Zheng commited on
Commit
5c8fd42
·
verified ·
1 Parent(s): 81aa0b0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -13,6 +13,7 @@ if st.button("Submit"):
13
  json={"data": [text]},
14
  timeout=20
15
  )
 
16
  result = response.json()["data"][0]
17
  st.success(f"Parsed Output:\n\n{result}")
18
  except Exception as e:
 
13
  json={"data": [text]},
14
  timeout=20
15
  )
16
+ st.write("Raw response:", response.text) # 调试信息
17
  result = response.json()["data"][0]
18
  st.success(f"Parsed Output:\n\n{result}")
19
  except Exception as e: