rahul7star commited on
Commit
768779b
·
verified ·
1 Parent(s): 2bb9931

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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=1024,
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,