changxin commited on
Commit
4b97cce
1 Parent(s): 71955cc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -52,10 +52,12 @@ def fx_dd(s:str):
52
  data={'msgtype':'text','text':{'title': '吹牛逼',"content": s}, 'at': {'atMobiles': [], 'isAtAll': True}}
53
  response=requests.post(url,json=data,headers=headers)
54
  return response.text
 
55
  every(2).minutes.do(fx_dd,s='传参数测试')
56
  while True:
57
  run_pending()
58
  time.sleep(1)
 
59
 
60
  demo=gr.Blocks()
61
  with demo:
 
52
  data={'msgtype':'text','text':{'title': '吹牛逼',"content": s}, 'at': {'atMobiles': [], 'isAtAll': True}}
53
  response=requests.post(url,json=data,headers=headers)
54
  return response.text
55
+ '''
56
  every(2).minutes.do(fx_dd,s='传参数测试')
57
  while True:
58
  run_pending()
59
  time.sleep(1)
60
+ '''
61
 
62
  demo=gr.Blocks()
63
  with demo: