Spaces:
Build error
Build error
| import gradio as gr | |
| description = "Extract actor1 and actor2 from the summary of reported events" | |
| title = "Information Extraction as Seq2Seq Generation" | |
| examples = [["summarize: A police officer was injured when unidentified gunmen attacked a check post in Mardan."]] | |
| interface = gr.Interface.load("huggingface/vinaykudari/t5-acled-ie-a", | |
| description=description, | |
| examples=examples, | |
| title=title, | |
| ) | |
| interface.launch() | |