Not working on Safari

#2
by mcouaillac - opened

I open a new discussion for this problem.
This is the page on Safari (Chrome is OK)
image.png

Downloading the app.py and running it locally with:

pip install -r requirements.txt
python app.py

Makes your app working perfectly

image.png

Owner

Hi @mcouaillac ,

I’m glad to hear that the space is working locally for you! Unfortunately, I don’t have access to Safari, so testing on that browser is a bit challenging for me. Could you please check the Safari developer console for any errors or issues?

For the best experience, I recommend using the space locally, as I don’t have a “Pro” subscription. This means responses on Hugging Face vCPUs might take around 10 minutes. If you have a “Pro” subscription, you can duplicate the space to your account and select “ZeroGPU” as the target runtime environment for faster performance.

Please keep in mind that this is just a test. A fully functional model will require more extensive evaluations on the dataset.

Best,
Ronan

The console shows:

image.png
And all the css are not downloaded
Perhaps it is a network error ?

Owner

I don't think it is a network issue, because it works for you with Chrome (and for me with Edge).
But the "Blocked a frame with origin…" might be the issue.
Also if running it locally without modifying the app.py problably means that it is a Hugging Face problem.
I'll try to open a bug.
Thank you for reporting.
Ronan

Owner

hi @mcouaillac
@John6666 submitted a patch could you test it and report ?
Thank you.
Ronan

@John6666 @eltorio ,
It works thank you.

mcouaillac changed discussion status to closed

Sign up or log in to comment