Update app.py
Browse files
app.py
CHANGED
@@ -95,11 +95,11 @@ fact_extraction_prompt = PromptTemplate(
|
|
95 |
template="Extract the key facts out of this text. Don't include opinions. Give each fact a number and keep them short sentences. :\n\n {text_input}"
|
96 |
)
|
97 |
|
98 |
-
fact_extraction_chain = LLMChain(llm=llm_hf, prompt=fact_extraction_prompt)
|
99 |
|
100 |
-
facts = fact_extraction_chain.run(text + " " +output_question_1)
|
101 |
|
102 |
-
print(facts)
|
103 |
|
104 |
|
105 |
def func (message):
|
|
|
95 |
template="Extract the key facts out of this text. Don't include opinions. Give each fact a number and keep them short sentences. :\n\n {text_input}"
|
96 |
)
|
97 |
|
98 |
+
#fact_extraction_chain = LLMChain(llm=llm_hf, prompt=fact_extraction_prompt)
|
99 |
|
100 |
+
#facts = fact_extraction_chain.run(text + " " +output_question_1)
|
101 |
|
102 |
+
#print(facts)
|
103 |
|
104 |
|
105 |
def func (message):
|