Skip to content

Commit

Permalink
Update client
Browse files Browse the repository at this point in the history
  • Loading branch information
freddyaboulton committed May 10, 2023
1 parent b942b94 commit eecc1b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/python/gradio_client/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ def view_api(
else:
api_info_url = urllib.parse.urljoin(self.src, utils.RAW_API_INFO_URL)

# Versions of Gradio older than 3.28.3 returned format of the API info
# Versions of Gradio older than 3.29.0 returned format of the API info
# from the /info endpoint
if version.parse(self.config.get("version", "2.0")) > version.Version("3.29.0"):
r = requests.get(api_info_url, headers=self.headers)
Expand Down

0 comments on commit eecc1b2

Please sign in to comment.