Spaces:
Build error
Build error
Commit
·
c38dbf5
1
Parent(s):
4a5fd41
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ model.to(device)
|
|
13 |
def summarize(inputs):
|
14 |
#define model inputs
|
15 |
inputs = tokenizer(
|
16 |
-
inputs
|
17 |
max_length=512,
|
18 |
truncation=True,
|
19 |
padding="max_length",
|
|
|
13 |
def summarize(inputs):
|
14 |
#define model inputs
|
15 |
inputs = tokenizer(
|
16 |
+
inputs,
|
17 |
max_length=512,
|
18 |
truncation=True,
|
19 |
padding="max_length",
|