Spaces:
Sleeping
Sleeping
created app.py
Browse files
app.py
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import gradio as gr
|
2 |
+
|
3 |
+
title = "Nepali News Summarization"
|
4 |
+
|
5 |
+
|
6 |
+
demo = gr.load(
|
7 |
+
"GenzNepal/mt5-summarize-nepalil",
|
8 |
+
inputs=gr.Textbox(lines=5, max_lines=20, label="Input Text"),
|
9 |
+
title=title,
|
10 |
+
)
|
11 |
+
|
12 |
+
if __name__ == "__main__":
|
13 |
+
demo.launch()
|
14 |
+
|