Spaces:
Runtime error
Runtime error
Vinay Kudari
commited on
Commit
•
f4ac881
1
Parent(s):
5f10f90
Add application file
Browse files
app.py
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import gradio as gr
|
2 |
+
|
3 |
+
description = "CSE635 - Ensemble"
|
4 |
+
title = "Information Extraction - ACLED"
|
5 |
+
examples = [["summarize: Al Shabaab members attack and kill two men transporting khat in an area between Baadhaade and Kulbiyow in Badhaade district"]]
|
6 |
+
|
7 |
+
interface = gr.Interface.load("huggingface/vinaykudari/t5-acled-ie",
|
8 |
+
description=description,
|
9 |
+
examples=examples,
|
10 |
+
title=title,
|
11 |
+
)
|
12 |
+
|
13 |
+
interface.launch()
|