Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
from
|
2 |
import gradio as gr
|
3 |
summarizer = pipeline("summarization", model = "t5-base",tokenizer="t5-small",truncation=True,framework="tf")
|
4 |
def translate(text):
|
|
|
1 |
+
from transformers import pipeline
|
2 |
import gradio as gr
|
3 |
summarizer = pipeline("summarization", model = "t5-base",tokenizer="t5-small",truncation=True,framework="tf")
|
4 |
def translate(text):
|