CoolFace
Apppublic

dlicari/test

sourceHugging Faceupdated 4y agoView on Hugging Face
0likes
app.py20 linesDownload Raw Back to root
1import gradio as gr2 3 4def summary(long_text=''):5    # summ = get_summary(long_text)6    return "This is the summary"7 8examples = [9    ["The Moon's orbit around Earth has"],10    ["The smooth Borealis basin in the Northern Hemisphere covers 40%"],11]12 13demo = gr.Interface(14    fn=summary,15    inputs=gr.inputs.Textbox(lines=5, label="Judgements"),16    outputs=gr.outputs.Textbox(label="Holding Extraction"),17    examples=examples18)19 20demo.launch()