Yah216 commited on
Commit
469ca3f
1 Parent(s): e770cc2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -16,7 +16,7 @@ meter = gr.Interface.load("huggingface/Yah216/Arabic_poem_meter_3",
16
  inputs = gr.inputs.Textbox(lines = 3, label = "البيت")
17
 
18
  )
19
- qafiyah = gr.Interface.load("huggingface/Yah216/Poem_Qafiyah_Detection",
20
  title ="التعرف على الروي",
21
  examples=examples,
22
  description="من فضلك، أدخل البيت الشعري الذي تود التعرف عليه",
@@ -31,6 +31,6 @@ subject = gr.Interface.load(
31
  inputs = gr.inputs.Textbox(lines = 3, label = "البيت")
32
 
33
  )
34
- new_demo = gr.TabbedInterface([meter, qafiyah, subject], ["التعرف على البحر","التعرف على الروي","التعرف على الموضوع"])
35
- new_demo.launch()
36
 
16
  inputs = gr.inputs.Textbox(lines = 3, label = "البيت")
17
 
18
  )
19
+ rawiy = gr.Interface.load("huggingface/Yah216/Poem_Qafiyah_Detection",
20
  title ="التعرف على الروي",
21
  examples=examples,
22
  description="من فضلك، أدخل البيت الشعري الذي تود التعرف عليه",
31
  inputs = gr.inputs.Textbox(lines = 3, label = "البيت")
32
 
33
  )
34
+ demo = gr.TabbedInterface([meter, rawiy, subject], ["التعرف على البحر","التعرف على الروي","التعرف على الموضوع"])
35
+ demo.launch()
36