Skip to content

Commit

Permalink
small change
Browse files Browse the repository at this point in the history
  • Loading branch information
Qewertyy committed Nov 26, 2023
1 parent f2734db commit 8cd5d37
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lexica/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ def ImageReverse(self, engine: str,imageUrl: str) -> dict:
}
"""
resp = self._request(
url=f'{MISC_URL}/image-reverse/{engine}',
url=f'{self.url}/image-reverse/{engine}',
method='POST',
params={"img_url": imageUrl}
)
Expand Down
2 changes: 1 addition & 1 deletion lexica/core_async.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ async def ImageReverse(self, engine: str,imageUrl: str) -> dict:
}
"""
resp = await self._request(
url=f'{MISC_URL}/image-reverse/{engine}',
url=f'{self.url}/image-reverse/{engine}',
method='POST',
params={'img_url': imageUrl}
)
Expand Down

0 comments on commit 8cd5d37

Please sign in to comment.