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

DeepSeek Asks for LUMAAI_API_KEY environment variable. #15

Open
fahdmirza opened this issue Jan 26, 2025 · 0 comments
Open

DeepSeek Asks for LUMAAI_API_KEY environment variable. #15

fahdmirza opened this issue Jan 26, 2025 · 0 comments

Comments

@fahdmirza
Copy link

Hi,
I am trying to run this space through docker locally https://huggingface.co/spaces/akhaliq/anychat with deepseek coder. I am calling it like this locally:

docker run -it -p 7860:7860 --platform=linux/amd64 -e DEEPSEEK_API_KEY="sk-" registry.hf.space/akhaliq-anychat:latest python app.py

But getting following error:

Traceback (most recent call last):
File "/home/user/app/app.py", line 1, in
from app_lumaai import demo as demo_lumaai
File "/home/user/app/app_lumaai.py", line 4, in
demo = gr.load(
File "/usr/local/lib/python3.10/site-packages/gradio/external.py", line 91, in load
return src(name, token, **kwargs)
File "/usr/local/lib/python3.10/site-packages/lumaai_gradio/init.py", line 149, in registry
raise ValueError("API key must be provided either through token parameter, kwargs, or LUMAAI_API_KEY environment variable.")
ValueError: API key must be provided either through token parameter, kwargs, or LUMAAI_API_KEY environment variable.

Please advise.

Or how could I run deepseek-R1 model through any chat like above space to use it with this text prompt:

write a script for a bouncing yellow ball within a sphere, make sure to handle collision detection properly.

Thanks.
Fahd

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

No branches or pull requests

1 participant