Spaces:
Sleeping
Sleeping
Update stream.py
Browse files
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 |
|