Open joachimt-git opened 3 months ago
I believe this has been fixed in newer versions of gradio. Can you try with the latest gradio version?
I have tried version 4.24.0. Unfortunately the 404 Error for /config still is present. The line of code where /config is being searched stays the same. In 4.24.0 now the line 471 in index.js.
try {
config = await resolve_config(
fetch_implementation,
`${http_protocol}//${host}`,
hf_token
);
const _config = await config_success(config);
res(_config);
} catch (e) {
console.error(e);
if (space_id) {
check_space_status(
space_id,
RE_SPACE_NAME.test(space_id) ? "space_name" : "subdomain",
handle_space_sucess
);
I see in the js console that the exception e is thrown and caught.
Best regards
Joachim
Describe the bug
I want to share my gradio app using a webcomponent like this.
I would expect that I can entirely move my app unter the path /gradio-app/ as src is described as an URL.
But that does not work. The javascript app wants to load a config and it does ignore the path /gradio-demo. From the index.js I see (line 326, version 3.46.0)
Only the ${host} is taken.
Have you searched existing issues? 🔎
Reproduction
Screenshot
No response
Logs
System Info
Severity
I can work around it