vsrinivas commited on
Commit
269b3fc
·
verified ·
1 Parent(s): b283235

Update funcs.py

Browse files
Files changed (1) hide show
  1. funcs.py +2 -1
funcs.py CHANGED
@@ -123,8 +123,9 @@ def summarize_and_recommend(therapy_session_conversation):
123
  # full_summary += summary
124
 
125
  import requests
 
126
 
127
- HF_TOKEN = "your_huggingface_token" # Replace with your HF access token
128
 
129
  API_URL = "https://api-inference.huggingface.co/models/tiiuae/falcon-180b-chat"
130
  headers = {
 
123
  # full_summary += summary
124
 
125
  import requests
126
+ HF_TOKEN = os.getenv('hf_token')
127
 
128
+ # HF_TOKEN = "your_huggingface_token" # Replace with your HF access token
129
 
130
  API_URL = "https://api-inference.huggingface.co/models/tiiuae/falcon-180b-chat"
131
  headers = {