Spaces:
Sleeping
Sleeping
Commit
·
61aa0aa
1
Parent(s):
e9c6881
Update app.py
Browse files
app.py
CHANGED
@@ -96,8 +96,8 @@ def generate_output(test_samples):
|
|
96 |
max_length=1024,
|
97 |
return_tensors="pt",
|
98 |
)
|
99 |
-
input_ids = inputs.input_ids
|
100 |
-
attention_mask = inputs.attention_mask
|
101 |
outputs = model.generate(input_ids,
|
102 |
max_length = 256,
|
103 |
min_length=32,
|
|
|
96 |
max_length=1024,
|
97 |
return_tensors="pt",
|
98 |
)
|
99 |
+
input_ids = inputs.input_ids
|
100 |
+
attention_mask = inputs.attention_mask
|
101 |
outputs = model.generate(input_ids,
|
102 |
max_length = 256,
|
103 |
min_length=32,
|