muryshev commited on
Commit
d791ced
1 Parent(s): 757dd81

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -206,7 +206,7 @@ def generate_and_log_tokens(user_request, model, generator):
206
  def generate_response():
207
  global stop_generation
208
  raw_content = request.data
209
- tokens = model.tokenize(raw_content))
210
  generator = model.generate(
211
  tokens[:CONTEXT_SIZE]
212
  )
 
206
  def generate_response():
207
  global stop_generation
208
  raw_content = request.data
209
+ tokens = model.tokenize(raw_content)
210
  generator = model.generate(
211
  tokens[:CONTEXT_SIZE]
212
  )