Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -16,6 +16,9 @@ client = OpenAI(
|
|
16 |
api_key=os.environ.get("HUGGINGFACEHUB_API_TOKEN"),
|
17 |
)
|
18 |
|
|
|
|
|
|
|
19 |
# Define model links and configurations
|
20 |
model_links = {
|
21 |
"HAH-2024-v0.1": "drmasad/HAH-2024-v0.11",
|
|
|
16 |
api_key=os.environ.get("HUGGINGFACEHUB_API_TOKEN"),
|
17 |
)
|
18 |
|
19 |
+
from huggingface_hub import login
|
20 |
+
login(token="HUGGINGFACEHUB_API_TOKEN")
|
21 |
+
|
22 |
# Define model links and configurations
|
23 |
model_links = {
|
24 |
"HAH-2024-v0.1": "drmasad/HAH-2024-v0.11",
|