Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -34,7 +34,7 @@ model = HuggingFaceHub(
|
|
34 |
task="conversational",
|
35 |
model_kwargs={"temperature": 0.8, "max_length": 1000},
|
36 |
)
|
37 |
-
template = """
|
38 |
{context}
|
39 |
Question: {question}
|
40 |
Helpful Answer:"""
|
|
|
34 |
task="conversational",
|
35 |
model_kwargs={"temperature": 0.8, "max_length": 1000},
|
36 |
)
|
37 |
+
template = """Answer the quesiton based on the given context.
|
38 |
{context}
|
39 |
Question: {question}
|
40 |
Helpful Answer:"""
|