File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ def __init__(
5555 )
5656
5757 if base_url is None :
58- base_url = os .environ .get ("JIGSAWSTACK_base_url " )
58+ base_url = os .environ .get ("JIGSAWSTACK_API_URL " )
5959 if base_url is None :
6060 base_url = "https://api.jigsawstack.com/"
6161
@@ -80,6 +80,7 @@ def __init__(
8080 self .text_to_sql = SQL (api_key = api_key , base_url = base_url + "/v1" ).text_to_sql
8181
8282 self .store = Store (api_key = api_key , base_url = base_url + "/v1" )
83+
8384 self .translate = Translate (api_key = api_key , base_url = base_url + "/v1" )
8485
8586 self .embedding = Embedding (api_key = api_key , base_url = base_url + "/v1" ).execute
@@ -130,7 +131,7 @@ def __init__(
130131 )
131132
132133 if base_url is None :
133- base_url = os .environ .get ("JIGSAWSTACK_base_url " )
134+ base_url = os .environ .get ("JIGSAWSTACK_API_URL " )
134135 if base_url is None :
135136 base_url = "https://api.jigsawstack.com/"
136137
@@ -141,6 +142,7 @@ def __init__(
141142 self .web = AsyncWeb (api_key = api_key , base_url = base_url + "/v1" )
142143
143144 self .validate = AsyncValidate (api_key = api_key , base_url = base_url + "/v1" )
145+
144146 self .audio = AsyncAudio (api_key = api_key , base_url = base_url + "/v1" )
145147
146148 self .vision = AsyncVision (api_key = api_key , base_url = base_url + "/v1" )
You can’t perform that action at this time.
0 commit comments