add a hugginface token

This commit is contained in:
songkey-win
2025-02-24 19:08:31 +08:00
parent eee70819a1
commit ef328da430
2 changed files with 5 additions and 2 deletions
+3
View File
@@ -25,6 +25,9 @@ if missing:
os.system(f'{sys.executable} -m pip install {missing_params}')
# subprocess.check_call([python, '-m', 'pip', 'install', missing_params], stdout=subprocess.DEVNULL)
from huggingface_hub import login
login(token='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')
import numpy as np
import cv2