Tonic commited on
Commit
c417c59
·
1 Parent(s): 25b31d3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -18,8 +18,8 @@ def query_vectara(question):
18
 
19
  headers = {
20
  "Content-Type": "application/json",
21
- "authorization": f"{api_key}",
22
- "customer-id": f"{customer_id}",
23
  }
24
 
25
  query_body = {
 
18
 
19
  headers = {
20
  "Content-Type": "application/json",
21
+ "authorization": f"Bearer {api_key}", # Corrected authorization header
22
+ "customer-id": customer_id,
23
  }
24
 
25
  query_body = {