shujath000 commited on
Commit
e907c17
·
verified ·
1 Parent(s): cf3df88

Update stream.py

Browse files
Files changed (1) hide show
  1. stream.py +3 -0
stream.py CHANGED
@@ -14,6 +14,9 @@ but=st.button(label="submit")
14
  if but:
15
  res=req.post(url="https://shujju786.app.n8n.cloud/webhook-test/e8d75729-a08e-47af-8239-17002afdace5",json = {"topic": topic})
16
  if res.status_code==200:
 
17
  st.write(res.json())
 
 
18
 
19
 
 
14
  if but:
15
  res=req.post(url="https://shujju786.app.n8n.cloud/webhook-test/e8d75729-a08e-47af-8239-17002afdace5",json = {"topic": topic})
16
  if res.status_code==200:
17
+ st.write(res.status_code)
18
  st.write(res.json())
19
+ else:
20
+ st.write(res.status_code)
21
 
22