Wedyan2023 commited on
Commit
750fd7d
·
verified ·
1 Parent(s): 674f56a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -27,7 +27,8 @@ load_dotenv()
27
  # Initialize the client
28
  client = OpenAI(
29
  base_url="https://api-inference.huggingface.co/v1",
30
- api_key=os.environ.get('HF_TOKEN') # Add your Huggingface token here
 
31
  )
32
 
33
  # Supported models
 
27
  # Initialize the client
28
  client = OpenAI(
29
  base_url="https://api-inference.huggingface.co/v1",
30
+ api_key=os.environ.get('HUGGINGFACE_API_TOKEN') # Add your Huggingface token here
31
+ #api_key=os.environ.get('HF_TOKEN') # Add your Huggingface token here
32
  )
33
 
34
  # Supported models