drmasad commited on
Commit
adc12fa
·
verified ·
1 Parent(s): b790aae

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
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",