Update utils.py
Browse files
utils.py
CHANGED
@@ -93,6 +93,7 @@ os.environ["HUGGINGFACEHUB_API_TOKEN"] = HUGGINGFACEHUB_API_TOKEN
|
|
93 |
HEADERS = {"Authorization": f"Bearer {HUGGINGFACEHUB_API_TOKEN}"}
|
94 |
# Hugging Face Token direkt im Code setzen
|
95 |
hf_token = os.getenv("HF_READ")
|
|
|
96 |
# HfApi-Instanz erstellen
|
97 |
api = HfApi()
|
98 |
|
|
|
93 |
HEADERS = {"Authorization": f"Bearer {HUGGINGFACEHUB_API_TOKEN}"}
|
94 |
# Hugging Face Token direkt im Code setzen
|
95 |
hf_token = os.getenv("HF_READ")
|
96 |
+
HF_WRITE = os.getenv("HF_WRITE")
|
97 |
# HfApi-Instanz erstellen
|
98 |
api = HfApi()
|
99 |
|