Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -9,7 +9,7 @@ from langchain.chains import ConversationalRetrievalChain
|
|
| 9 |
from langchain.memory import ConversationBufferMemory
|
| 10 |
|
| 11 |
# 馃敼 Inicializa pipeline com modelo leve
|
| 12 |
-
pipe = pipeline("
|
| 13 |
llm = HuggingFacePipeline(pipeline=pipe)
|
| 14 |
|
| 15 |
# 馃敼 Mem贸ria de conversa莽茫o
|
|
|
|
| 9 |
from langchain.memory import ConversationBufferMemory
|
| 10 |
|
| 11 |
# 馃敼 Inicializa pipeline com modelo leve
|
| 12 |
+
pipe = pipeline("text2text-generation", model="google/flan-t5-small", max_new_tokens=256
|
| 13 |
llm = HuggingFacePipeline(pipeline=pipe)
|
| 14 |
|
| 15 |
# 馃敼 Mem贸ria de conversa莽茫o
|