Spaces:
Sleeping
Sleeping
Mohammed-Altaf
commited on
Commit
•
04ae5c1
1
Parent(s):
5b47eb8
Update app.py
Browse files
app.py
CHANGED
@@ -31,7 +31,7 @@ def generate_text(input_text):
|
|
31 |
input_ids = tokenizer.encode(input_text, return_tensors="pt")
|
32 |
|
33 |
output = model.generate(
|
34 |
-
|
35 |
max_length=100,
|
36 |
)
|
37 |
|
|
|
31 |
input_ids = tokenizer.encode(input_text, return_tensors="pt")
|
32 |
|
33 |
output = model.generate(
|
34 |
+
input_ids,
|
35 |
max_length=100,
|
36 |
)
|
37 |
|