LecJackS commited on
Commit
3183b9a
1 Parent(s): dde9ae5

Upload tool

Browse files
Files changed (2) hide show
  1. requirements.txt +1 -1
  2. wolfram_alpha_tool.py +1 -1
requirements.txt CHANGED
@@ -1,3 +1,3 @@
1
  os
2
- transformers
3
  requests
 
 
1
  os
 
2
  requests
3
+ transformers
wolfram_alpha_tool.py CHANGED
@@ -9,7 +9,7 @@ class WolframAlpha(Tool):
9
  inputs = ["query"]
10
  outputs = ["result"]
11
 
12
- def __init__(self):
13
  self.base_url = 'http://api.wolframalpha.com/v2/query'
14
 
15
  self.app_id = os.environ.get('WOLFRAM_APP_ID')
 
9
  inputs = ["query"]
10
  outputs = ["result"]
11
 
12
+ def __init__(self, *args, **kwargs):
13
  self.base_url = 'http://api.wolframalpha.com/v2/query'
14
 
15
  self.app_id = os.environ.get('WOLFRAM_APP_ID')