Update app.py
Browse files
app.py
CHANGED
|
@@ -19,8 +19,9 @@ tokenizer = AutoTokenizer.from_pretrained(
|
|
| 19 |
'airesearch/wangchanbart-large',
|
| 20 |
)
|
| 21 |
|
| 22 |
-
|
| 23 |
-
|
|
|
|
| 24 |
|
| 25 |
css_text = """<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">"""
|
| 26 |
|
|
|
|
| 19 |
'airesearch/wangchanbart-large',
|
| 20 |
)
|
| 21 |
|
| 22 |
+
text_summarize_pipeline = pipeline('text2text-generation',
|
| 23 |
+
tokenizer=tokenizer,
|
| 24 |
+
model=model)
|
| 25 |
|
| 26 |
css_text = """<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">"""
|
| 27 |
|