We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Bug Summary:
C:\Apps\open-webui\backend\main.py:88: SyntaxWarning: invalid escape sequence '\ ' """
Steps to Reproduce: (Mac) bash start.sh (Windows) start_windows.bat
Expected Behavior: It runs without that warning.
Actual Behavior: It still runs, but throws up that warning.
Open WebUI Version: 0.1.123
Operating System: Windows 11, macOS Sonoma
Confirmation:
Installed manually.
Not fixed in dev as of 96d9d34
If you want ASCII art to include unescaped backslashes, you need the raw prefix for strings:
r""" \this is fine\ """
You can even combine raw and format:
rf""" \ this is fine, {1+1} is 2 \ """
Here, I fixed it. line 76:
print( rf""" ___ __ __ _ _ _ ___ / _ \ _ __ ___ _ __ \ \ / /__| |__ | | | |_ _| | | | | '_ \ / _ \ '_ \ \ \ /\ / / _ \ '_ \| | | || | | |_| | |_) | __/ | | | \ V V / __/ |_) | |_| || | \___/| .__/ \___|_| |_| \_/\_/ \___|_.__/ \___/|___| |_| v{VERSION} - building the best open-source AI user interface. https://github.com/open-webui/open-webui """ )
Sorry, I'm horribly rusty with properly contributing code.
The text was updated successfully, but these errors were encountered:
fix: ascii art issue
70ae053
#1918
tjbck
Successfully merging a pull request may close this issue.
Bug Report
Description
Bug Summary:
Steps to Reproduce:
(Mac)
bash start.sh
(Windows)
start_windows.bat
Expected Behavior:
It runs without that warning.
Actual Behavior:
It still runs, but throws up that warning.
Environment
Open WebUI Version: 0.1.123
Operating System: Windows 11, macOS Sonoma
Reproduction Details
Confirmation:
Installation Method
Installed manually.
Not fixed in dev as of 96d9d34
Additional Information
If you want ASCII art to include unescaped backslashes, you need the raw prefix for strings:
r""" \this is fine\ """
You can even combine raw and format:
rf""" \ this is fine, {1+1} is 2 \ """
Here, I fixed it.
line 76:
Sorry, I'm horribly rusty with properly contributing code.
The text was updated successfully, but these errors were encountered: