Spaces:
Sleeping
Sleeping
Ahmed
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -19,7 +19,7 @@ def SummarizeThis(Dialogue):
|
|
19 |
Summary = tokenizer.decode(
|
20 |
model.generate(
|
21 |
inputs["input_ids"],
|
22 |
-
max_new_tokens=
|
23 |
)[0],
|
24 |
skip_special_tokens=True
|
25 |
)
|
|
|
19 |
Summary = tokenizer.decode(
|
20 |
model.generate(
|
21 |
inputs["input_ids"],
|
22 |
+
max_new_tokens=800,
|
23 |
)[0],
|
24 |
skip_special_tokens=True
|
25 |
)
|