Khachatur Mirijanyan
commited on
Commit
•
aab2f4a
1
Parent(s):
c95736b
query checking
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ from langchain.prompts.prompt import PromptTemplate
|
|
7 |
|
8 |
def answer_question(query):
|
9 |
if query.startswith("### Query"):
|
10 |
-
split = query.split('
|
11 |
print(split)
|
12 |
return("DONE: " + query)
|
13 |
|
|
|
7 |
|
8 |
def answer_question(query):
|
9 |
if query.startswith("### Query"):
|
10 |
+
split = query.split('\n')
|
11 |
print(split)
|
12 |
return("DONE: " + query)
|
13 |
|