Spaces:
Runtime error
Runtime error
File size: 656 Bytes
123203d e852cdc 8e701d4 250366c 123203d c422e29 123203d | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | import gradio as gr
description = "Given the different extracted information fields from a reported event, generate an ACLED style summary of the event."
title = "Structured Data Summarizer"
examples = [["summarize: event_date:22-July-2022, source:ESAT, fatalities:0, event_type:Battles, sub_event_type:Armed Clash, actor1:TPLF: Tigray People's Liberation Front, inter1:Rebel Groups, actor2:Military Forces of Ethiopia (2018-), inter2:State Forces, location:Aba Mar"]]
interface = gr.Interface.load("huggingface/vinaykudari/t5-acled-t2s",
description=description,
examples=examples,
title=title,
)
interface.launch()
|