Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -63,7 +63,7 @@ Example responses:
|
|
63 |
"""
|
64 |
|
65 |
try:
|
66 |
-
response = self.client.
|
67 |
decision_prompt,
|
68 |
max_new_tokens=50,
|
69 |
temperature=0.1,
|
@@ -95,7 +95,7 @@ Question: {question}
|
|
95 |
Answer:"""
|
96 |
|
97 |
try:
|
98 |
-
response = self.client.
|
99 |
answer_prompt,
|
100 |
max_new_tokens=500,
|
101 |
temperature=0.3,
|
@@ -161,7 +161,7 @@ Based on the search results above, provide an answer to the question. If the sea
|
|
161 |
Answer:"""
|
162 |
|
163 |
try:
|
164 |
-
response = self.client.
|
165 |
answer_prompt,
|
166 |
max_new_tokens=600,
|
167 |
temperature=0.3,
|
|
|
63 |
"""
|
64 |
|
65 |
try:
|
66 |
+
response = self.client.conversational(
|
67 |
decision_prompt,
|
68 |
max_new_tokens=50,
|
69 |
temperature=0.1,
|
|
|
95 |
Answer:"""
|
96 |
|
97 |
try:
|
98 |
+
response = self.client.conversational(
|
99 |
answer_prompt,
|
100 |
max_new_tokens=500,
|
101 |
temperature=0.3,
|
|
|
161 |
Answer:"""
|
162 |
|
163 |
try:
|
164 |
+
response = self.client.conversational(
|
165 |
answer_prompt,
|
166 |
max_new_tokens=600,
|
167 |
temperature=0.3,
|