-
Notifications
You must be signed in to change notification settings - Fork 26
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
cannot import name 'url_quote' from 'werkzeug.urls' when starting launch.bat after running setup-amd.bat #414
Comments
I'm new can someone explain this |
This is the second report I've gotten recently about this exception. It looks like something was updated in Flask but not Werkzeug or vice versa (discussed in https://stackoverflow.com/questions/77213053/why-did-flask-start-failing-with-importerror-cannot-import-name-url-quote-fr, among many other threads), so I need to go through and update the In the meantime, can you try running |
@ssube launched, but 404 on 127.0.0.1:5000 |
There was a missing step in the setup guide which I have added to the documentation and will try to fix in the setup scripts before the next release: https://github.com/ssube/onnx-web/blob/main/docs/setup-guide.md#download-the-web-ui-bundle, 6e614aa. Please try downloading those three files from https://github.com/ssube/onnx-web/tree/gh-pages/v0.11.0 and copying them into your local |
@ssube Same 404 |
I've updated the pinned version of Flask and pinned a compatible version of Werkzeug, so this should be fixed for new installs. @FinecoFinit are you still getting a 404, or were you able to load the UI and see the list of models (#429)? |
@ssube no, I'm good, just instruction needs to be filled that client side starts separately, or I can use GitHub page |
The launch.bat and launch.ps1 scripts check for the web UI files before launching the server now: #378 (comment) |
"Launching API server..."
D:\onnx-web\api\onnx_web\diffusers\pipelines\upscale.py:14: FutureWarning: Importing
DiffusionPipeline
orImagePipelineOutput
from diffusers.pipeline_utils is deprecated. Please import from diffusers.pipelines.pipeline_utils instead.from diffusers.pipeline_utils import ImagePipelineOutput
Error: Bad module 'onnx_web.main'
Usage:
Standard options:
Tuning options:
There was an exception (ImportError) importing your module.
It had these arguments:
The text was updated successfully, but these errors were encountered: