SallySprick commited on
Commit
949b81c
·
verified ·
1 Parent(s): 7a45c7b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ def generate(starting_text):
10
  response=""
11
  #response = gpt2_tensors
12
  for i, x in enumerate(gpt2_tensors):
13
- response=response+f"{i}: {gpt2_tkn.decode(x, skip_special_tokens=True)}"
14
  return response
15
 
16
  txt=grad.Textbox(lines=1, label="English", placeholder="English Text here")
 
10
  response=""
11
  #response = gpt2_tensors
12
  for i, x in enumerate(gpt2_tensors):
13
+ response=response+f"{i}: {gpt2_tkn.decode(x, skip_special_tokens=False)}"
14
  return response
15
 
16
  txt=grad.Textbox(lines=1, label="English", placeholder="English Text here")