Skip to content
New issue

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

82 updates for huggingface spaces with gpu #84

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

daavoo
Copy link
Contributor

@daavoo daavoo commented Jan 9, 2025

In order to use the GPU, I updated the space to use the docker sdk instead of the streamlit sdk

Can be tested at https://huggingface.co/spaces/mozilla-ai/document-to-podcast

@daavoo daavoo self-assigned this Jan 9, 2025
@daavoo daavoo linked an issue Jan 9, 2025 that may be closed by this pull request
@daavoo daavoo requested a review from a team January 10, 2025 11:20
@daavoo daavoo marked this pull request as ready for review January 10, 2025 11:20
@daavoo daavoo force-pushed the 82-updates-for-huggingface-spaces-with-gpu branch from 3767108 to dfc1794 Compare January 10, 2025 11:21
@daavoo daavoo force-pushed the 82-updates-for-huggingface-spaces-with-gpu branch from dfc1794 to 608ff72 Compare January 10, 2025 14:44
@daavoo daavoo added the demo Related to the demo label Jan 10, 2025
@stefanfrench
Copy link
Contributor

@daavoo - Tested on Firefox and all worked other than the download bug already identified in issue 85

On Chrome - it works with the URL input, however I can't get it working with the file upload (even after deleting cache, cookies, etc..). I suspect a large share of the users will be on Chrome and will use the upload functionality, so think we should try to resolve this.

I did come across this potential solution that could be worth trying: https://huggingface.co/docs/hub/en/spaces-cookie-limitations

streamlit run app.py --server.enableXsrfProtection false

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
demo Related to the demo
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Updates for HuggingFace Spaces with GPU
2 participants