NanditaVora commited on
Commit
a2fef77
1 Parent(s): 74daf61

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -8,6 +8,9 @@
8
  # dataset = load_dataset("soulhq-ai/insuranceQA-v2")
9
 
10
  import requests
 
 
 
11
 
12
  API_URL = "https://api-inference.huggingface.co/models/meta-llama/Llama-3.2-3B"
13
  headers = {"Authorization": "Bearer " + API_KEY}
 
8
  # dataset = load_dataset("soulhq-ai/insuranceQA-v2")
9
 
10
  import requests
11
+ import os
12
+
13
+ API_KEY = os.environ.get("API_KEY")
14
 
15
  API_URL = "https://api-inference.huggingface.co/models/meta-llama/Llama-3.2-3B"
16
  headers = {"Authorization": "Bearer " + API_KEY}