muryshev commited on
Commit
5a792ea
1 Parent(s): a769ced

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -139,7 +139,7 @@ def handler_change_context_size():
139
  stop_generation = True
140
 
141
  new_size = int(request.args.get('size', CONTEXT_SIZE))
142
- init_model(new_size, enable_gpu=ENABLE_GPU, GPU_LAYERS)
143
 
144
  return Response('Size changed', content_type='text/plain')
145
 
 
139
  stop_generation = True
140
 
141
  new_size = int(request.args.get('size', CONTEXT_SIZE))
142
+ init_model(new_size, ENABLE_GPU, GPU_LAYERS)
143
 
144
  return Response('Size changed', content_type='text/plain')
145