Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -22,7 +22,7 @@ llm = HuggingFaceEndpoint(
|
|
| 22 |
temperature=0.7,
|
| 23 |
max_new_tokens=512,
|
| 24 |
huggingfacehub_api_token=os.getenv("HUGGINGFACEHUB_API_TOKEN"),
|
| 25 |
-
task="
|
| 26 |
)
|
| 27 |
|
| 28 |
math_template = ChatPromptTemplate.from_messages([
|
|
|
|
| 22 |
temperature=0.7,
|
| 23 |
max_new_tokens=512,
|
| 24 |
huggingfacehub_api_token=os.getenv("HUGGINGFACEHUB_API_TOKEN"),
|
| 25 |
+
task="conversational"
|
| 26 |
)
|
| 27 |
|
| 28 |
math_template = ChatPromptTemplate.from_messages([
|