Spaces:
Sleeping
Sleeping
thanhnguyentung
commited on
Commit
•
da94187
1
Parent(s):
c404ae2
Update app.py
Browse files
app.py
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
from
|
2 |
import gradio as gr
|
3 |
|
4 |
summarizer = pipeline('summarization', model='t5-base', tokenizer='t5-small', truncation=True, framework='tf')
|
|
|
1 |
+
from transformers import pipeline
|
2 |
import gradio as gr
|
3 |
|
4 |
summarizer = pipeline('summarization', model='t5-base', tokenizer='t5-small', truncation=True, framework='tf')
|