aditi2222 commited on
Commit
6c5cbaa
·
1 Parent(s): bdfd743

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@
2
  import gradio as gr
3
  from gradio.mix import Parallel, Series
4
  # Summarizes Meeting Transcripts using Google Research's PEGASUS library
5
- summarizer = gr.Interface.load("t5-base")
6
  output_text = gr.outputs.Textbox()
7
  # Displays the end results to a webpage (i.e. here HuggingFace Spaces)
8
  Series(summarizer, inputs = gr.inputs.Textbox(lines=10, label="Meeting Transcript")).launch()
 
2
  import gradio as gr
3
  from gradio.mix import Parallel, Series
4
  # Summarizes Meeting Transcripts using Google Research's PEGASUS library
5
+ summarizer = gr.Interface.load("huggingface/t5-base")
6
  output_text = gr.outputs.Textbox()
7
  # Displays the end results to a webpage (i.e. here HuggingFace Spaces)
8
  Series(summarizer, inputs = gr.inputs.Textbox(lines=10, label="Meeting Transcript")).launch()