Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,4 +1,5 @@
|
|
| 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"
|
|
@@ -13,7 +14,6 @@ interface2 = gr.Interface.load("huggingface/Yah216/Poem_Qafiyah_Detection",
|
|
| 13 |
examples=examples
|
| 14 |
)
|
| 15 |
|
| 16 |
-
interface1.launch(
|
| 17 |
|
| 18 |
|
| 19 |
-
interface2.launch()
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
+
from gradio.mix import Series
|
| 3 |
|
| 4 |
description = "Poem meter detector"
|
| 5 |
title = "Identify the meter of the poem you are reading or writing with this performant classifier"
|
|
|
|
| 14 |
examples=examples
|
| 15 |
)
|
| 16 |
|
| 17 |
+
Series(interface1, interface2).launch()
|
| 18 |
|
| 19 |
|
|
|