Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -3,6 +3,9 @@ import requests
|
|
3 |
import json
|
4 |
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]
|
|
|
3 |
import json
|
4 |
from decouple import Config
|
5 |
|
6 |
+
config = Config()
|
7 |
+
config.read('.env')
|
8 |
+
|
9 |
def query_vectara(question, chat_history):
|
10 |
# Get the user's message from the chat history
|
11 |
# user_message = chat_history[-1][0]
|