chenjg commited on
Commit
6d1d71c
1 Parent(s): 6a69275

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -46,7 +46,7 @@ def generate0(input_text):
46
  return "".join( tokenizer.convert_ids_to_tokens(generated) )
47
 
48
  def generate(input_text):
49
- result = []
50
  for i in range(5):
51
  text = generate0(input_text)
52
  result.append(text)
 
46
  return "".join( tokenizer.convert_ids_to_tokens(generated) )
47
 
48
  def generate(input_text):
49
+ result = set()
50
  for i in range(5):
51
  text = generate0(input_text)
52
  result.append(text)