Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -42,8 +42,8 @@ def respond(message, chat_history):
|
|
| 42 |
# Generate response
|
| 43 |
generation_args = {
|
| 44 |
"max_new_tokens": 200, # Reduced for CPU performance
|
| 45 |
-
"temperature": 0.
|
| 46 |
-
"do_sample":
|
| 47 |
}
|
| 48 |
|
| 49 |
output = pipe(formatted_input, **generation_args)
|
|
|
|
| 42 |
# Generate response
|
| 43 |
generation_args = {
|
| 44 |
"max_new_tokens": 200, # Reduced for CPU performance
|
| 45 |
+
"temperature": 0.7,
|
| 46 |
+
"do_sample": True,
|
| 47 |
}
|
| 48 |
|
| 49 |
output = pipe(formatted_input, **generation_args)
|