Guhanselvam commited on
Commit
e42ca5a
·
verified ·
1 Parent(s): 3e9114f

Update fastapi_server.py

Browse files
Files changed (1) hide show
  1. fastapi_server.py +1 -0
fastapi_server.py CHANGED
@@ -10,6 +10,7 @@ load_dotenv()
10
  # added new comment
11
  # Get the Groq API key from environment variables
12
  groq_api_key = "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"
 
13
 
14
 
15
  # Define the URL for the Groq API endpoint
 
10
  # added new comment
11
  # Get the Groq API key from environment variables
12
  groq_api_key = "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"
13
+ os.environ['HF_TOKEN']=os.environ.get("HF_TOKEN")
14
 
15
 
16
  # Define the URL for the Groq API endpoint