Update app.py
Browse files
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()
|