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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -27,8 +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('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
 
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