codys12 commited on
Commit
8b40b8a
1 Parent(s): 641bfc8
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -49,7 +49,7 @@ def generate(
49
  print(current_input)
50
  input_ids = tokenizer(current_input, return_tensors="pt").input_ids.to(device)
51
 
52
- outputs = model.generate(**inputs, max_new_tokens=100)
53
 
54
  print(tokenizer.decode(outputs[0], skip_special_tokens=False))
55
 
 
49
  print(current_input)
50
  input_ids = tokenizer(current_input, return_tensors="pt").input_ids.to(device)
51
 
52
+ outputs = model.generate(**input_ids, max_new_tokens=100)
53
 
54
  print(tokenizer.decode(outputs[0], skip_special_tokens=False))
55