natfil commited on
Commit
fd2ca73
1 Parent(s): 96c36ce

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ import torch
2
  import gradio as gr
3
  from transformers import pipeline
4
 
5
- text_summary = pipeline("summarization", model="Falconsai/text_summarization", torch_dtype=torch.bfloat16)
6
 
7
  def summary (input):
8
  max_length = 1024 # adjust this value as needed
 
2
  import gradio as gr
3
  from transformers import pipeline
4
 
5
+ text_summary= pipeline("summarization", model="Joemgu/mlong-t5-large-sumstew")
6
 
7
  def summary (input):
8
  max_length = 1024 # adjust this value as needed