Open DuVogel87 opened 3 days ago
Try this localhost:8000/?url=test.splat
When i do localhost:8000/?url=test.splat it says:
error: 404 unable to load https://huggingface.co/cakewalk/splat-data/resolve/main/test.splat
You need to replace the line in the main.js from "https://huggingface.co/cakewalk/splat-data/resolve/main/", to "http://localhost:8000/",
Doesnt work. I did as you said. here is the code i changed due to your last post:
} catch (err) {} const url = new URL( // "nike.splat", // location.href, params.get("url") || "test.splat", "http://localhost:8000/", ); when i try to open http://localhost:8000/ or localhost:8000/?model=test.splat in my browser both lead to the same error:
Error: 404 Unable to load http://localhost:8000/train.splat
You might need to refresh the page. It should not say train.splat if you made the code change.
Btw, it should be localhost:8000/?url=test.splat
i changed to code:
const url = new URL(
// "nike.splat",
// location.href,
params.get("url") || "train.splat",
"http://localhost:8000/", // Changed from "https://huggingface.co/cakewalk/splat-data/resolve/main/"
);
i do: .\venv\Scripts\activate.bat
i start: python -m http.server
i enter in browser: localhost:8000/?url=test.splat
still no succes!
Error: 404 Unable to load http://localhost:8000/test.splat
It's really strange why it doesnt work. I do everything as you say.
Likely it could be CORS. Please install the extension and enable it.
In Chrome setting menu, click Extensions->Manage Extensions
Nope. Doesn't change a thing.
Is there an instruction on how to clone, install and run splat?
I think its something very easy that doesn't work here right now.
Did you install the extension and turned it on? Please provide a screenshot like this
The CORS symbol should be red.
sure. here is a screenshot of my running firefox and cors extension:
I am not sure about Firefox. Could you try Google Chrome?
Okay i installe chrome and the extension. no, nothing happens. just the blue loading cube spinning endlessly.
The model file should be at the same place as the main.js.
Please post a screenshot of the http server running window. What is the message there? Also you can open the chrome developer tool and see what error raised.
I am not able to view/load my costum splats. Whatever i do i always get to see the default model "train".
Here is what i did:
I have no idea what i am doing wrong. Can someone please help me here? Thanks!