Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ import gradio as gr
|
|
3 |
|
4 |
summarizer = pipeline("summarization", model="t5-base", tokenizer="t5-small", truncation=True, framework="tf")
|
5 |
|
6 |
-
def translate(text)
|
7 |
text = text.replace('"', '"')
|
8 |
text = text.replace(''', "'")
|
9 |
text = text.replace('&', "&")
|
|
|
3 |
|
4 |
summarizer = pipeline("summarization", model="t5-base", tokenizer="t5-small", truncation=True, framework="tf")
|
5 |
|
6 |
+
def translate(text):
|
7 |
text = text.replace('"', '"')
|
8 |
text = text.replace(''', "'")
|
9 |
text = text.replace('&', "&")
|