Error when duplicating the space

#2
by RoxorLoops - opened

I duplicated and ran it on A10G. I put the secret keys (I think I did it correctly). Anyone that can help out a noob :) Thanks

Space failed to start. Exit code: 1. Reason: ip-safe -> build/bdist.linux-x86_64/egg/EGG-INFO copying diffvg.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying diffvg.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO writing build/bdist.linux-x86_64/egg/EGG-INFO/native_libs.txt creating dist creating 'dist/diffvg-0.0.1-py3.8-linux-x86_64.egg' and adding 'build/bdist.linux-x86_64/egg' to it removing 'build/bdist.linux-x86_64/egg' (and everything under it) Processing diffvg-0.0.1-py3.8-linux-x86_64.egg creating /home/user/.local/lib/python3.8/site-packages/diffvg-0.0.1-py3.8-linux-x86_64.egg Extracting diffvg-0.0.1-py3.8-linux-x86_64.egg to /home/user/.local/lib/python3.8/site-packages Adding diffvg 0.0.1 to easy-install.pth file Installed /home/user/.local/lib/python3.8/site-packages/diffvg-0.0.1-py3.8-linux-x86_64.egg Processing dependencies for diffvg==0.0.1 Searching for svgpathtools==1.6.0 Best match: svgpathtools 1.6.0 Adding svgpathtools 1.6.0 to easy-install.pth file Using /home/user/.pyenv/versions/3.8.15/lib/python3.8/site-packages Searching for scipy==1.9.1 Best match: scipy 1.9.1 Adding scipy 1.9.1 to easy-install.pth file Using /home/user/.pyenv/versions/3.8.15/lib/python3.8/site-packages Searching for svgwrite==1.4.3 Best match: svgwrite 1.4.3 Adding svgwrite 1.4.3 to easy-install.pth file Using /home/user/.pyenv/versions/3.8.15/lib/python3.8/site-packages Searching for numpy==1.23.5 Best match: numpy 1.23.5 Adding numpy 1.23.5 to easy-install.pth file Installing f2py script to /home/user/.local/bin Installing f2py3 script to /home/user/.local/bin Installing f2py3.8 script to /home/user/.local/bin Using /home/user/.pyenv/versions/3.8.15/lib/python3.8/site-packages Finished processing dependencies for diffvg==0.0.1 Traceback (most recent call last): File "app.py", line 29, in torch_dtype=torch.float16, use_auth_token=os.environ['HF_TOKEN']).to(device) File "/home/user/.pyenv/versions/3.8.15/lib/python3.8/os.py", line 675, in getitem raise KeyError(key) from None KeyError: 'HF_TOKEN'

@RoxorLoops Have you added your HF_TOKEN to the repository secrets in the settings?
What kind of access does your token have?

I have put it in the secret settings, but I don't know what kind of access it has. As in, I don't even know what you mean by that.

Sign up or log in to comment