Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,12 +1,19 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
description = "Poem meter detector"
|
4 |
-
title = "Identify the meter of the poem you are reading or writing with this
|
5 |
examples = [["ุณููู ูููุจู ุบูุฏุงุฉู ุณููุง ููุซุงุจุง ููุนูููู ุนููู ุงูุฌูู
ุงูู ูููู ุนูุชุงุจุง"]]
|
6 |
|
7 |
-
|
8 |
description=description,
|
9 |
examples=examples
|
10 |
)
|
11 |
|
12 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
description = "Poem meter detector"
|
4 |
+
title = "Identify the meter of the poem you are reading or writing with this performant classifier"
|
5 |
examples = [["ุณููู ูููุจู ุบูุฏุงุฉู ุณููุง ููุซุงุจุง ููุนูููู ุนููู ุงูุฌูู
ุงูู ูููู ุนูุชุงุจุง"]]
|
6 |
|
7 |
+
interface1 = gr.Interface.load("huggingface/Yah216/Arabic_poem_meter_3",
|
8 |
description=description,
|
9 |
examples=examples
|
10 |
)
|
11 |
|
12 |
+
|
13 |
+
interface1.launch()
|
14 |
+
|
15 |
+
interface2 = gr.Interface.load("Yah216/Poem_Qafiyah_Detection",
|
16 |
+
description=description,
|
17 |
+
examples=examples
|
18 |
+
)
|
19 |
+
interface2.launch()
|