cs-uche commited on
Commit
8149f27
·
verified ·
1 Parent(s): 6ab7233

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,7 +1,7 @@
1
  from transformers import pipeline
2
  import gradio as gr
3
 
4
- summarizer = pipeline("summarization", model="t5-base", tokenizer="t5-mall", truncation=True, framework="tf")
5
 
6
  def translate(text):
7
  text = text.replace(""", '"')
 
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")
5
 
6
  def translate(text):
7
  text = text.replace(""", '"')