Spaces:
Runtime error
Runtime error
| import gradio as gr | |
| title = "Pegasus Paraphrase" | |
| description = "Gradio Demo for PEGASUS fine-tuned for paraphrasing. To use it, simply add your text, or click one of the examples to load them. Read more at the links below." | |
| article = "<p style='text-align: center'><a href='https://huggingface.co/tuner007/pegasus_paraphrase' target='_blank'>Huggingface Model</a></p>" | |
| examples = [ | |
| ['The ultimate test of your knowledge is your capacity to convey it to another.'] | |
| ] | |
| gr.Interface.load("huggingface/tuner007/pegasus_paraphrase", inputs=gr.inputs.Textbox(lines=5, label="Input Text"),title=title,description=description,article=article, examples=examples,enable_queue=True).launch() |