Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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)
|