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

[feature] cli add hugging face mirror support #1298

Open
dassio opened this issue Feb 7, 2025 · 4 comments
Open

[feature] cli add hugging face mirror support #1298

dassio opened this issue Feb 7, 2025 · 4 comments
Labels
enhancement New feature or request

Comments

@dassio
Copy link

dassio commented Feb 7, 2025

describe the feature
in the desktop app, you can configure hugging face mirror, but for the screenpipe server cli ,there is no such option , when try to use whisper for audio transcription, need to download mode from hugging face

why is this needed?
hugging face is banned in China

additional context

you are using local processing. all your data stays on your computer.

warning: telemetry is enabled. only error-level data will be sent to highlight.io.
to disable, use the --disable-telemetry flag.

check latest changes here: https://github.com/mediar-ai/screenpipe/releases
2025-02-07T14:15:37.861529Z  INFO screenpipe: starting pipes
failed to start pipe timeline: No pipe.js/pipe.ts found in the pipe/dist directory
2025-02-07T14:15:37.864597Z  INFO screenpipe_server::server: Server starting on 127.0.0.1:3030
2025-02-07T14:15:45.839709Z  INFO screenpipe_server::video: Starting FFmpeg process for file: C:\Users\dassi\.screenpipe\data\monitor_490607759_2025-02-07_14-15-45.mp4
2025-02-07T14:15:48.283937Z  INFO screenpipe_server::resource_monitor: Runtime: 10s, Total Memory: 2% (0.25 GB / 16.09 GB), Total CPU: 88%
2025-02-07T14:15:58.322953Z  INFO screenpipe_server::resource_monitor: Runtime: 20s, Total Memory: 2% (0.26 GB / 16.09 GB), Total CPU: 92%
2025-02-07T14:16:00.374953Z ERROR screenpipe: continuous recording error: request error: https://huggingface.co/distil-whisper/distil-large-v3/resolve/main/config.json: Connection Failed: Connect error: connection timed out

Caused by:
    0: https://huggingface.co/distil-whisper/distil-large-v3/resolve/main/config.json: Connection Failed: Connect error: connection timed out
    1: connection timed out
@dassio dassio added the enhancement New feature or request label Feb 7, 2025
@oliverqx
Copy link
Contributor

oliverqx commented Feb 7, 2025

i think there is no flag currently but as a workaround you can set HF_ENDPOINT to the mirror. kinda like how its done here

@louis030195
Copy link
Collaborator

#415

@hunnywar
Copy link
Contributor

hunnywar commented Feb 8, 2025

@louis030195 I wonder that many useful features lies in env vars
Can you list or document all the Env Vars that influence Screenpipe CLI or desktop app

@louis030195
Copy link
Collaborator

how can we document it well?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants