Yah216 commited on
Commit
98fc808
โ€ข
1 Parent(s): 6db2142

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -6
app.py CHANGED
@@ -3,16 +3,19 @@ from gradio.mix import Series, Parallel
3
 
4
  description = "Poem meter detector"
5
  title = "Identify the meter of the poem you are reading or writing with this performant classifier"
6
- examples1 = [["ุณูŽู„ูˆ ู‚ูŽู„ุจูŠ ุบูŽุฏุงุฉูŽ ุณูŽู„ุง ูˆูŽุซุงุจุง ู„ูŽุนูŽู„ูŽู‘ ุนูŽู„ู‰ ุงู„ุฌูŽู…ุงู„ู ู„ูŽู‡ู ุนูุชุงุจุง"]]
7
- examples2 = [["ุณูŽู„ูˆ ู‚ูŽู„ุจูŠ ุบูŽุฏุงุฉูŽ ุณูŽู„ุง ูˆูŽุซุงุจุง ู„ูŽุนูŽู„ูŽู‘ ุนูŽู„ู‰ ุงู„ุฌูŽู…ุงู„ู ู„ูŽู‡ู ุนูุชุงุจุง"]]
8
 
9
  interface1 = gr.Interface.load("huggingface/Yah216/Arabic_poem_meter_3",
10
- description=description,
11
- examples=examples1
12
  )
13
  interface2 = gr.Interface.load("huggingface/Yah216/Poem_Qafiyah_Detection",
14
- description=description,
15
- examples=examples2
 
 
 
16
  )
17
 
18
  Parallel(interface1, interface2).launch()
 
3
 
4
  description = "Poem meter detector"
5
  title = "Identify the meter of the poem you are reading or writing with this performant classifier"
6
+ examples = [["ุณูŽู„ูˆ ู‚ูŽู„ุจูŠ ุบูŽุฏุงุฉูŽ ุณูŽู„ุง ูˆูŽุซุงุจุง ู„ูŽุนูŽู„ูŽู‘ ุนูŽู„ู‰ ุงู„ุฌูŽู…ุงู„ู ู„ูŽู‡ู ุนูุชุงุจุง"]]
7
+
8
 
9
  interface1 = gr.Interface.load("huggingface/Yah216/Arabic_poem_meter_3",
10
+ description="Poem meter detector",
11
+ examples=examples
12
  )
13
  interface2 = gr.Interface.load("huggingface/Yah216/Poem_Qafiyah_Detection",
14
+ description="Qafiyah / Rawiy detector",
15
+ examples=examples
16
+ interface3 = gr.Interface.load("huggingface/zenkri/autotrain- Arabic_Poetry_by_Subject-920730230",
17
+ description="Subject detector",
18
+ examples=examples
19
  )
20
 
21
  Parallel(interface1, interface2).launch()