File size: 895 Bytes
c9f72b1
6db2142
c9f72b1
 
70719fd
98fc808
 
c9f72b1
70719fd
1956739
 
f8e5021
c9f72b1
7589384
1956739
 
f8e5021
28d29a9
a803651
 
1956739
 
f8e5021
70719fd
8db7cf4
1956739
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
26
27
28
29
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="Meter detector",
            examples=examples

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

)

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