Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -16,7 +16,7 @@ def generate_response(prompt):
|
|
16 |
payload = {
|
17 |
"inputs": prompt,
|
18 |
"parameters": {
|
19 |
-
"max_new_tokens":
|
20 |
"temperature": 0.7,
|
21 |
"top_p": 0.95,
|
22 |
"do_sample": True
|
|
|
16 |
payload = {
|
17 |
"inputs": prompt,
|
18 |
"parameters": {
|
19 |
+
"max_new_tokens": 2000,
|
20 |
"temperature": 0.7,
|
21 |
"top_p": 0.95,
|
22 |
"do_sample": True
|