harsh2ai commited on
Commit
1dd4e6c
Β·
verified Β·
1 Parent(s): 7f6cd9b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -18
app.py CHANGED
@@ -258,23 +258,15 @@ 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
  )
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
  -----------------
@@ -286,7 +278,6 @@ def create_interface():
286
  audio_input = gr.Audio(
287
  label="πŸ“ Upload Audio File",
288
  type="filepath",
289
- sources=["upload"],
290
  scale=3,
291
  )
292
 
@@ -344,9 +335,10 @@ def create_interface():
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
- )
 
 
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
  -----------------
 
278
  audio_input = gr.Audio(
279
  label="πŸ“ Upload Audio File",
280
  type="filepath",
 
281
  scale=3,
282
  )
283
 
 
335
  if __name__ == "__main__":
336
  print("🌐 Launching Ringg STT V0 Gradio Interface...")
337
  demo = create_interface()
338
+ demo.queue().launch(
339
  server_name="0.0.0.0",
340
+ server_port=7860,
341
  share=False,
342
  show_api=False,
343
+ max_threads=2,
344
+ )