-
Notifications
You must be signed in to change notification settings - Fork 26.4k
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
Do not installed Webui under a directory with leading dot (.
)
#13292
Comments
Are you fucking kidding me? I've been scratching my head for well over a month and couldn't use 1.6.0 because of this, not knowing why. Thank you so much. |
should be on the README |
This is fixed in v4 branch gradio-app/gradio#6128 |
still broken after doing git clean and pull, UI is unresponsive and is now attempting to reinstall everything, as painful as it sounds. |
another cause of CSS not loading is if you launch webui from a different work directory then webui root |
I seem to be having this issue after a recent update, but I dont have anything under a ./ directory to my knowledge, how do I make sure my work directory is correct? Edit: It would seem its tied to what port I'm using. 7860 is buggy while 7861 works perfectly fine. I have no idea what could be causing this because 7860 is the default and it only starts on 7861 when I'm running KohayaSS on 7860. |
|
If you're seeing this
![image](https://private-user-images.githubusercontent.com/40751091/268477079-f80b25cc-a729-4519-bd8d-c7a4d3a2fdb9.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU1NzM3NTEsIm5iZiI6MTcyNTU3MzQ1MSwicGF0aCI6Ii80MDc1MTA5MS8yNjg0NzcwNzktZjgwYjI1Y2MtYTcyOS00NTE5LWJkOGQtYzdhNGQzYTJmZGI5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MDUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTA1VDIxNTczMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWEzODFkMTM2MzU5OTBmNDA2MTYwMDk1ZGRkZWM3N2RhMGM2MGY2YTdkYTFkOTUxM2NiYzNjYTYxODg2Y2U5MTYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.tVOu2Y1mlsX-mJyWxaPdvTWMMKc3rdzawElHC-tAB3s)
make sure you did not place your webui install under a directory or subdirectory that has a leading dot (
.
)example
the reason
since Gradio version 3.33.0, they add a new security feature that blocks files under a
dot directory
to be servedin webui 1.6.0 we switch from Gradio 3.32.0 -> 3.41.2, and so the browser will not be able to access webui files if it is installed under a
dot
dirrelated issues
#12474 (comment)
vladmandic/automatic#2106
note this may also has an effect on certain extensions, if they have files that are intend to be served but are named with a leading dot
another cause of CSS not loading is if you launch webui from a different work directory then webui root
#13210 (this fix in in dev branch but not yet in master)
so if you are experiencing similar issue to above but webui is not installed under a dot dir make sure the wrok dir is webui root
The text was updated successfully, but these errors were encountered: