Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -46,8 +46,10 @@ def define_custom_prompts():
|
|
| 46 |
return text_qa_template, refine_template
|
| 47 |
|
| 48 |
|
| 49 |
-
def answer_questions(user_question
|
| 50 |
-
|
|
|
|
|
|
|
| 51 |
import openai
|
| 52 |
import os
|
| 53 |
os.environ["OPENAI_API_KEY"]
|
|
|
|
| 46 |
return text_qa_template, refine_template
|
| 47 |
|
| 48 |
|
| 49 |
+
def answer_questions(user_question):
|
| 50 |
+
|
| 51 |
+
text_qa_template, refine_template = define_custom_prompts()
|
| 52 |
+
|
| 53 |
import openai
|
| 54 |
import os
|
| 55 |
os.environ["OPENAI_API_KEY"]
|