fittar commited on
Commit
d0368b6
·
1 Parent(s): 3eced31

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -28,7 +28,7 @@ tokenizer = GPT2Tokenizer.from_pretrained('gpt2-medium')
28
  tokenizer.pad_token = tokenizer.eos_token
29
 
30
  def generate(text):
31
- result =generate(text,model,tokenizer,do_sample=True,device=device)
32
  return result
33
 
34
 
 
28
  tokenizer.pad_token = tokenizer.eos_token
29
 
30
  def generate(text):
31
+ result =vipe_generate(text,model,tokenizer,do_sample=True,device=device)
32
  return result
33
 
34