File size: 901 Bytes
c9f72b1
6db2142
c9f72b1
 
70719fd
98fc808
 
c9f72b1
70719fd
98fc808
 
c9f72b1
7589384
98fc808
 
28d29a9
98fc808
 
 
70719fd
8db7cf4
974165f
8db7cf4
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import gradio as gr
from gradio.mix import Series, Parallel

description = "Poem meter detector"
title = "Identify the meter of the poem you are reading or writing with this performant classifier"
examples = [["ุณูŽู„ูˆ ู‚ูŽู„ุจูŠ ุบูŽุฏุงุฉูŽ ุณูŽู„ุง ูˆูŽุซุงุจุง ู„ูŽุนูŽู„ูŽู‘ ุนูŽู„ู‰ ุงู„ุฌูŽู…ุงู„ู ู„ูŽู‡ู ุนูุชุงุจุง"]]


interface1 = gr.Interface.load("huggingface/Yah216/Arabic_poem_meter_3",
            description="Poem meter detector",
            examples=examples
)
interface2 = gr.Interface.load("huggingface/Yah216/Poem_Qafiyah_Detection",
            description="Qafiyah / Rawiy detector",
            examples=examples
)
interface3 = gr.Interface.load("huggingface/zenkri/autotrain-                        Arabic_Poetry_by_Subject-920730230",
            description="Subject detector",
            examples=examples
)

Parallel(interface1, interface2, interface3).launch()