Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -666,7 +666,7 @@ def answer_template(language="english"):
|
|
666 |
{{chat_history}}
|
667 |
|
668 |
{{context}}
|
669 |
-
|
670 |
</context>
|
671 |
|
672 |
Question: {{question}}
|
@@ -701,7 +701,7 @@ chain = ConversationalRetrievalChain.from_llm(
|
|
701 |
|
702 |
|
703 |
|
704 |
-
|
705 |
'''
|
706 |
def create_ConversationalRetrievalChain(
|
707 |
llm,condense_question_llm,
|
@@ -785,8 +785,8 @@ def submit_message(prompt, prompt_template, temperature, max_tokens, context_len
|
|
785 |
|
786 |
|
787 |
completion = chain.invoke({"question":prompt})
|
788 |
-
|
789 |
-
|
790 |
|
791 |
|
792 |
|
|
|
666 |
{{chat_history}}
|
667 |
|
668 |
{{context}}
|
669 |
+
|
670 |
</context>
|
671 |
|
672 |
Question: {{question}}
|
|
|
701 |
|
702 |
|
703 |
|
704 |
+
|
705 |
'''
|
706 |
def create_ConversationalRetrievalChain(
|
707 |
llm,condense_question_llm,
|
|
|
785 |
|
786 |
|
787 |
completion = chain.invoke({"question":prompt})
|
788 |
+
print("completion text from invoke on line 787")
|
789 |
+
print(completion)
|
790 |
|
791 |
|
792 |
|