Spaces:
Runtime error
Runtime error
Commit
·
135f6e4
1
Parent(s):
0f7403a
Update app.py
Browse files
app.py
CHANGED
@@ -8,4 +8,4 @@ inputs= tokenizer.encode(input_text, return_tensors='pt')
|
|
8 |
outputs= model.generate(inputs,max_length=50,num_return_sequences=5,temperature=0.7)
|
9 |
print("Generated Text")
|
10 |
for i, output in enumerate(outputs):
|
11 |
-
print(f"{i}: {tokenizer.decode(output)}")
|
|
|
8 |
outputs= model.generate(inputs,max_length=50,num_return_sequences=5,temperature=0.7)
|
9 |
print("Generated Text")
|
10 |
for i, output in enumerate(outputs):
|
11 |
+
print(f"{i}: {tokenizer.decode(output)}")
|