Update app.py
Browse files
app.py
CHANGED
|
@@ -258,15 +258,23 @@ def create_interface():
|
|
| 258 |
"""
|
| 259 |
# π― Performance Benchmarks
|
| 260 |
#### **Ringg STT V0** Ranks **1st** Among Top Models, Outperforming OpenAI Whisper Large-v3 and Other Leading Solutions.
|
| 261 |
-
|
| 262 |
-
| Model | Median WER β | Mean WER β |
|
| 263 |
-
|-------|--------------|------------|
|
| 264 |
-
| **Elaichi STT (Ringg AI)** | **15.00%** | **15.92%** |
|
| 265 |
-
| IndicWav2Vec | 19.35% | 20.91% |
|
| 266 |
-
| VakyanSh Wav2Vec2 | 22.73% | 24.78% |
|
| 267 |
"""
|
| 268 |
)
|
| 269 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 270 |
gr.Markdown(
|
| 271 |
"""
|
| 272 |
-----------------
|
|
@@ -336,9 +344,9 @@ def create_interface():
|
|
| 336 |
if __name__ == "__main__":
|
| 337 |
print("π Launching Ringg STT V0 Gradio Interface...")
|
| 338 |
demo = create_interface()
|
| 339 |
-
demo.queue().launch(
|
| 340 |
server_name="0.0.0.0",
|
| 341 |
-
server_port=7860,
|
| 342 |
share=False,
|
| 343 |
-
|
| 344 |
-
)
|
|
|
|
| 258 |
"""
|
| 259 |
# π― Performance Benchmarks
|
| 260 |
#### **Ringg STT V0** Ranks **1st** Among Top Models, Outperforming OpenAI Whisper Large-v3 and Other Leading Solutions.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 261 |
"""
|
| 262 |
)
|
| 263 |
|
| 264 |
+
with gr.Row():
|
| 265 |
+
gr.DataFrame(
|
| 266 |
+
value=[
|
| 267 |
+
["Elaichi STT (Ringg AI)", "15.00%", "15.92%"],
|
| 268 |
+
["IndicWav2Vec ", "19.35%", "20.91%"],
|
| 269 |
+
["VakyanSh Wav2Vec2", "22.73%", "24.78%"],
|
| 270 |
+
],
|
| 271 |
+
headers=["Model", "Median WER β", "Mean WER β"],
|
| 272 |
+
datatype=["str", "str", "str"],
|
| 273 |
+
row_count=3,
|
| 274 |
+
col_count=(3, "fixed"),
|
| 275 |
+
interactive=False,
|
| 276 |
+
)
|
| 277 |
+
|
| 278 |
gr.Markdown(
|
| 279 |
"""
|
| 280 |
-----------------
|
|
|
|
| 344 |
if __name__ == "__main__":
|
| 345 |
print("π Launching Ringg STT V0 Gradio Interface...")
|
| 346 |
demo = create_interface()
|
| 347 |
+
demo.queue(concurrency_count=1).launch(
|
| 348 |
server_name="0.0.0.0",
|
| 349 |
+
server_port=int(os.environ.get("PORT", 7860)),
|
| 350 |
share=False,
|
| 351 |
+
show_api=False,
|
| 352 |
+
)
|