Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ from decouple import Config
|
|
5 |
|
6 |
def query_vectara(question, chat_history):
|
7 |
# Get the user's message from the chat history
|
8 |
-
user_message = chat_history[-1][0]
|
9 |
|
10 |
# Query Vectara API
|
11 |
customer_id = config('CUSTOMER_ID') # Read from .env file
|
|
|
5 |
|
6 |
def query_vectara(question, chat_history):
|
7 |
# Get the user's message from the chat history
|
8 |
+
# user_message = chat_history[-1][0]
|
9 |
|
10 |
# Query Vectara API
|
11 |
customer_id = config('CUSTOMER_ID') # Read from .env file
|