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