File size: 485 Bytes
26e8da1
dcd0602
26e8da1
 
6c5cbaa
26e8da1
 
 
1
2
3
4
5
6
7
8
9
# For this demo we're using Gradio, Hugging Face Spaces, Pytorch and Hugging Face Transformers
import gradio as gr	
from gradio.mix import Parallel, Series
	# Summarizes Meeting Transcripts using Google Research's PEGASUS library 
summarizer = gr.Interface.load("huggingface/t5-base")
output_text = gr.outputs.Textbox()
# Displays the end results to a webpage (i.e. here HuggingFace Spaces)
Series(summarizer, inputs = gr.inputs.Textbox(lines=10, label="Meeting Transcript")).launch()