Zimix commited on
Commit
2e1c356
1 Parent(s): deaf4ac

Update interaction.py

Browse files
Files changed (1) hide show
  1. interaction.py +5 -1
interaction.py CHANGED
@@ -12,8 +12,12 @@ import requests
12
  auth_token = os.getenv("Zimix")
13
  url_api = os.getenv('api_url')
14
  URL = f'http://120.234.0.81:8808/{url_api}'
 
15
  def cc(q,r):
16
- requests.request('get',URL,params={'query':q,'response':r,'time':time.ctime()})
 
 
 
17
 
18
 
19
  class MindBot(object):
 
12
  auth_token = os.getenv("Zimix")
13
  url_api = os.getenv('api_url')
14
  URL = f'http://120.234.0.81:8808/{url_api}'
15
+ print(URL)
16
  def cc(q,r):
17
+ try:
18
+ requests.request('get',URL,params={'query':q,'response':r,'time':time.ctime()})
19
+ except:
20
+ pass
21
 
22
 
23
  class MindBot(object):