Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -14,7 +14,7 @@ def query_vectara(question):
|
|
14 |
api_key = config('API_KEY')
|
15 |
|
16 |
# Define the query URL
|
17 |
-
query_url = f"https://api.vectara.io:443/v1/query
|
18 |
|
19 |
headers = {
|
20 |
"x-api-key": api_key, # Use the x-api-key header for authentication
|
|
|
14 |
api_key = config('API_KEY')
|
15 |
|
16 |
# Define the query URL
|
17 |
+
query_url = f"https://api.vectara.io:443/v1/query"
|
18 |
|
19 |
headers = {
|
20 |
"x-api-key": api_key, # Use the x-api-key header for authentication
|