changxin commited on
Commit
445ff53
1 Parent(s): fb273d7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -48,7 +48,7 @@ def fx_dd(s:str):
48
  headers= {"Content-Type": "application/json"}
49
  url="https://oapi.dingtalk.com/robot/send?access_token=4cbf5cd82f7d214566af77f893ecc9f119b78f5465d3a8fcbe4734bf73c1a7d8"
50
  data={'msgtype':'text','text':{'title': '吹牛逼',"content": s}, 'at': {'atMobiles': [], 'isAtAll': True}}
51
- respose=requests.post(url,json=data,headers=headers)
52
  return response.text
53
 
54
  demo=gr.Blocks()
 
48
  headers= {"Content-Type": "application/json"}
49
  url="https://oapi.dingtalk.com/robot/send?access_token=4cbf5cd82f7d214566af77f893ecc9f119b78f5465d3a8fcbe4734bf73c1a7d8"
50
  data={'msgtype':'text','text':{'title': '吹牛逼',"content": s}, 'at': {'atMobiles': [], 'isAtAll': True}}
51
+ response=requests.post(url,json=data,headers=headers)
52
  return response.text
53
 
54
  demo=gr.Blocks()