Wedyan2023 commited on
Commit
95f6302
·
verified ·
1 Parent(s): b795b3e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ load_dotenv()
18
  # Initialize the client
19
  client = OpenAI(
20
  base_url="https://api-inference.huggingface.co/v1",
21
- api_key=os.environ.get('HUGGINGFACEHUB_API_TOKEN') # Add your Huggingface token here
22
  )
23
 
24
  # Supported models
 
18
  # Initialize the client
19
  client = OpenAI(
20
  base_url="https://api-inference.huggingface.co/v1",
21
+ api_key=os.environ.get('HF_TOKEN') # Add your Huggingface token here
22
  )
23
 
24
  # Supported models