Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -155,7 +155,7 @@ def generate_answer(question, openAI_key, model):
|
|
155 |
return answer
|
156 |
|
157 |
|
158 |
-
def question_answer(chat_history, url, file, question,
|
159 |
try:
|
160 |
if openAI_key.strip()=='':
|
161 |
return '[ERROR]: Please enter your Open AI Key. Get your key here : https://platform.openai.com/account/api-keys'
|
|
|
155 |
return answer
|
156 |
|
157 |
|
158 |
+
def question_answer(chat_history, url, file, question, model):
|
159 |
try:
|
160 |
if openAI_key.strip()=='':
|
161 |
return '[ERROR]: Please enter your Open AI Key. Get your key here : https://platform.openai.com/account/api-keys'
|