Spaces:
Runtime error
Runtime error
Update trans.py
Browse files
trans.py
CHANGED
|
@@ -11,4 +11,4 @@ AI Assistant: Here is the transltion in french
|
|
| 11 |
"""
|
| 12 |
|
| 13 |
prompt = PromptTemplate(input_variables=['input'], template = template_v2)
|
| 14 |
-
trans =
|
|
|
|
| 11 |
"""
|
| 12 |
|
| 13 |
prompt = PromptTemplate(input_variables=['input'], template = template_v2)
|
| 14 |
+
trans = prompt | llm | StrOutputParser()
|