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

requests.exceptions.MissingSchema: Invalid URL 'None': No scheme supplied. Perhaps you meant https://None? #90

Open
lingshen233 opened this issue Jan 1, 2024 · 2 comments

Comments

@lingshen233
Copy link

This share link will expire in 24 hours. If you need a permanent link, visit: https://gradio.app/introducing-hosted (NEW!)
Interface loading below...
ERROR - ViLT - Failed after 0:01:00!
Traceback (most recent calls WITHOUT Sacred internals):
File "C:\Users\qr\Downloads\ViLT-master\demo.py", line 233, in main
interface.launch(debug=True)
File "C:\Users\qr\miniconda3\envs\label\lib\site-packages\gradio\interface.py", line 463, in launch
while not networking.url_ok(share_url):
File "C:\Users\qr\miniconda3\envs\label\lib\site-packages\gradio\networking.py", line 462, in url_ok
r = requests.head(url, timeout=3)
File "C:\Users\qr\miniconda3\envs\label\lib\site-packages\requests\api.py", line 100, in head
return request("head", url, **kwargs)
File "C:\Users\qr\miniconda3\envs\label\lib\site-packages\requests\api.py", line 59, in request
return session.request(method=method, url=url, **kwargs)
File "C:\Users\qr\miniconda3\envs\label\lib\site-packages\requests\sessions.py", line 575, in request
prep = self.prepare_request(req)
File "C:\Users\qr\miniconda3\envs\label\lib\site-packages\requests\sessions.py", line 486, in prepare_request
p.prepare(
File "C:\Users\qr\miniconda3\envs\label\lib\site-packages\requests\models.py", line 368, in prepare
self.prepare_url(url, params)
File "C:\Users\qr\miniconda3\envs\label\lib\site-packages\requests\models.py", line 439, in prepare_url
raise MissingSchema(
requests.exceptions.MissingSchema: Invalid URL 'None': No scheme supplied. Perhaps you meant https://None?

@cc-wangxin2020
Copy link

I have the same problem, please have you solved it

@lingshen233
Copy link
Author

I have the same problem, please have you solved it
No, I 've change my research topic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants