Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -274,7 +274,7 @@ def attach_debug_hooks():
|
|
| 274 |
log(f"Attached debug hooks: {attached}")
|
| 275 |
|
| 276 |
|
| 277 |
-
attach_debug_hooks()
|
| 278 |
|
| 279 |
|
| 280 |
# ============================================================
|
|
@@ -340,7 +340,7 @@ def generate_response(message, history):
|
|
| 340 |
generate_kwargs = dict(
|
| 341 |
**inputs,
|
| 342 |
streamer=streamer,
|
| 343 |
-
max_new_tokens=
|
| 344 |
temperature=0.7,
|
| 345 |
do_sample=True,
|
| 346 |
top_p=0.9,
|
|
|
|
| 274 |
log(f"Attached debug hooks: {attached}")
|
| 275 |
|
| 276 |
|
| 277 |
+
#attach_debug_hooks()
|
| 278 |
|
| 279 |
|
| 280 |
# ============================================================
|
|
|
|
| 340 |
generate_kwargs = dict(
|
| 341 |
**inputs,
|
| 342 |
streamer=streamer,
|
| 343 |
+
max_new_tokens=2048,
|
| 344 |
temperature=0.7,
|
| 345 |
do_sample=True,
|
| 346 |
top_p=0.9,
|