rphrp1985 commited on
Commit
2d49b5b
1 Parent(s): ec7e05a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -35,7 +35,7 @@ def respond(
35
  inputs = tokenizer("Hello my name is", return_tensors="pt")
36
 
37
  outputs = model.generate(**inputs, max_new_tokens=20)
38
- gen_text=tokenizer.decode(outputs[0], skip_special_tokens=True
39
 
40
  print(gen_text)
41
  yield gen_text
 
35
  inputs = tokenizer("Hello my name is", return_tensors="pt")
36
 
37
  outputs = model.generate(**inputs, max_new_tokens=20)
38
+ gen_text=tokenizer.decode(outputs[0], skip_special_tokens=True)
39
 
40
  print(gen_text)
41
  yield gen_text