pradeepiisc commited on
Commit
1304175
1 Parent(s): b6e295a

correcion in application file

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