Skip to content

Commit

Permalink
Fix typo in tunneling.py (#9338)
Browse files Browse the repository at this point in the history
* tunneling fix

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
  • Loading branch information
abidlabs and gradio-pr-bot authored Sep 12, 2024
1 parent 1fef9d9 commit 19f6b31
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/floppy-keys-heal.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"gradio": minor
---

feat:Fix typo in `tunneling.py`
2 changes: 1 addition & 1 deletion gradio/tunneling.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def __init__(self, remote_host, remote_port, local_host, local_port, share_token

@staticmethod
def download_binary():
if Path(BINARY_PATH).exists():
if not Path(BINARY_PATH).exists():
resp = httpx.get(BINARY_URL, timeout=30)

if resp.status_code == 403:
Expand Down

0 comments on commit 19f6b31

Please sign in to comment.