Open cksbisqui opened 6 months ago
The errors are saying the JavaScript files are returning plain text. Can you share what's being returned by selecting one of the js
files from the last screenshot you shared?
I'm facing the same issue, windows 10
@vanpelt , Thank you for helping out with the issue.
Here are the screenshots. the .js are empty, all of them, and in the 127.0.0.1, I see this in the second screenshot.
I searched and found out some comments about React and a specific line in the code, <script type="module" crossorigin src="/assets/index-6BqEBdFF.js"></script>
, that should have <script type="text/javascript" ...>
instead.
But I don't know if that is the issue here, and I cannot change that code in the browser to test it.
I was able to build it on docker, but then it was not finding Ollama, and my first task made the process freeze up.
It could be a windows path issue. I'll try it in Windows when I get a chance.
sadly same error on my side. any solution will be great.
I' am facing same error in windows 10 also
Same issue on windows 11
Did anyone ever figure this out? I'm getting this same error on Windows 11
@vanpelt , were you able to have a look at this issue? Much appreciated.
Haven't had access to a windows machine. Short term quick solution is to just run it in docker, I'll be publishing an official image soon. I'll try to take a look, for anyone adventurous, the problem code for windows is probably here. A quick and dirty fix might be to do something like:
if os.name == "nt":
full_path = full_path.replace("/", "\")
Thank you for the reply @vanpelt.
Cheers.
On Jun 6, 2024 at 6:54 PM, Chris Van Pelt @.***> wrote:
Haven't had access to a windows machine. Short term quick solution is to just run it in docker, I'll be publishing an official image soon. I'll try to take a look, for anyone adventurous, the problem code for windows is probably here. A quick and dirty fix might be to do something like:
if os.name == "nt": full_path = full_path.replace("/", "\")
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
Hello. I have follow the instructions to the dot, and everything installed ok. Created an openui environment, did pip install, set my openai key, and once server is up, I get a blank page. Please help!
in the cmd I get this:
(openui) F:\OpenUIfolder\openui\backend>python -m openui wandb: Unpatching OpenAI completions INFO (openui): Starting OpenUI AI Server created by W&B... INFO (openui): Running API Server INFO (uvicorn.error): Started server process [22552] INFO (uvicorn.error): Waiting for application startup. DEBUG (openui): Starting up server in 22552... INFO (uvicorn.error): Application startup complete. INFO (uvicorn.error): Uvicorn running on http://127.0.0.1:7878 (Press CTRL+C to quit) INFO (uvicorn.access): 127.0.0.1:53891 - "GET /ai/new HTTP/1.1" 200 INFO (uvicorn.access): 127.0.0.1:53891 - "GET /assets/index-6BqEBdFF.js HTTP/1.1" 200 INFO (uvicorn.access): 127.0.0.1:53892 - "GET /assets/vendor-BGjp6CLF.js HTTP/1.1" 200 INFO (uvicorn.access): 127.0.0.1:53893 - "GET /assets/index-DspDvSlJ.css HTTP/1.1" 200