Skip to content

Commit

Permalink
Merge pull request #858 from PrimozGodec/api2-to-api
Browse files Browse the repository at this point in the history
replace old apiv2.garaza.io with api.garaza.io for embedders
  • Loading branch information
PrimozGodec committed Jun 3, 2022
2 parents b196b6b + 5e130aa commit 74eb0df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion orangecontrib/text/vectorization/document_embedder.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def __init__(self, language: str = 'en',
self._embedder = _ServerEmbedder(self.aggregator,
model_name='fasttext-'+self.language,
max_parallel_requests=100,
server_url='https://apiv2.garaza.io',
server_url='https://api.garaza.io',
embedder_type='text')

def _transform(
Expand Down
2 changes: 1 addition & 1 deletion orangecontrib/text/vectorization/sbert.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def __init__(self) -> None:
self._server_communicator = _ServerCommunicator(
model_name='sbert',
max_parallel_requests=100,
server_url='https://apiv2.garaza.io',
server_url='https://api.garaza.io',
embedder_type='text',
)

Expand Down

0 comments on commit 74eb0df

Please sign in to comment.