Spaces:
Sleeping
Sleeping
Update text2generation.py
Browse files- text2generation.py +1 -1
text2generation.py
CHANGED
|
@@ -21,7 +21,7 @@ def generate_long_answer(question):
|
|
| 21 |
"content": f"Provide a comprehensive educational answer with examples in very simple english words that can easily understand by anyone:\n\n{question}"
|
| 22 |
}],
|
| 23 |
"temperature": 0.3,
|
| 24 |
-
"max_tokens":
|
| 25 |
}
|
| 26 |
)
|
| 27 |
response.raise_for_status()
|
|
|
|
| 21 |
"content": f"Provide a comprehensive educational answer with examples in very simple english words that can easily understand by anyone:\n\n{question}"
|
| 22 |
}],
|
| 23 |
"temperature": 0.3,
|
| 24 |
+
"max_tokens": 2000
|
| 25 |
}
|
| 26 |
)
|
| 27 |
response.raise_for_status()
|