Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gradio client 0.7.0 doesnt work without internet #6413

Closed
1 task done
djaym7 opened this issue Nov 13, 2023 · 7 comments
Closed
1 task done

Gradio client 0.7.0 doesnt work without internet #6413

djaym7 opened this issue Nov 13, 2023 · 7 comments
Assignees
Labels
bug Something isn't working gradio_client Related to the one of the gradio client libraries

Comments

@djaym7
Copy link

djaym7 commented Nov 13, 2023

Describe the bug

Gradio client 0.7.0 doesnt work without internet, ends in timeout error.

Downgrading to 0.1.4 works. Can we get offline support for new releases ?

Have you searched existing issues? 🔎

  • I have searched and found no existing issues

Reproduction

host gradio app offline and call gradio api

Screenshot

No response

Logs

No response

System Info

n/a

Severity

I can work around it

@djaym7 djaym7 added the bug Something isn't working label Nov 13, 2023
@abidlabs
Copy link
Member

We could tackle this alongside #1450

@freddyaboulton
Copy link
Collaborator

How would this work though? You need the internet to connect to an external app, no? Do you need internet for a local app too?

@pngwn
Copy link
Member

pngwn commented Nov 15, 2023

I assume this is talking about connecting to a locally hosted server, which shouldn't need an internet connection.

@djaym7
Copy link
Author

djaym7 commented Jan 6, 2024

yes @pngwn

@abidlabs abidlabs added the gradio_client Related to the one of the gradio client libraries label Feb 11, 2024
@pngwn pngwn added this to the @gradio/client 1.0 milestone Apr 11, 2024
@hannahblair hannahblair self-assigned this Apr 29, 2024
@hannahblair
Copy link
Collaborator

hannahblair commented May 28, 2024

This seems to magically work now. I think it was solved in some way by #8258. @djaym7 would you be able to confirm if it works on your end? I've tested this with a local FastAPI app and the @gradio/client version is from the main version of this repo

@djaym7
Copy link
Author

djaym7 commented May 28, 2024

Yes, works

@hannahblair
Copy link
Collaborator

Great, thanks @djaym7!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working gradio_client Related to the one of the gradio client libraries
Projects
None yet
Development

No branches or pull requests

5 participants