Abid commited on
Commit
25df624
β€’
1 Parent(s): 97b3ed4

pacakge added

Browse files
Files changed (2) hide show
  1. Gradio/app.py +3 -9
  2. packages.txt +1 -0
Gradio/app.py CHANGED
@@ -39,7 +39,7 @@ title = "Urdu Automatic Speech Recognition"
39
  description = """
40
  <p>
41
  <center>
42
- Savta Depth is a collaborative Open Source Data Science project for monocular depth estimation - Turn 2d photos into 3d photos. To test the model and code please check out the link bellow.
43
  <img src="https://huggingface.co/spaces/kingabzpro/Urdu-ASR-SOTA/blob/main/Images/cover.jpg" alt="logo" width="250"/>
44
  </center>
45
  </p>
@@ -47,13 +47,7 @@ Savta Depth is a collaborative Open Source Data Science project for monocular de
47
  article = """<p style='text-align: center'>
48
  <a href='https://dagshub.com/kingabzpro/Urdu-ASR-SOTA' target='_blank'>
49
  Source Code on DagsHub</a>
50
- </p><p style='text-align: center'>
51
- <a href='https://huggingface.co/blog/wav2vec2-with-ngram' target='_blank'>
52
- Boosting Wav2Vec2 with n-grams in πŸ€— Transformers
53
- </a>
54
- <a href='https://huggingface.co/blog/fine-tune-xlsr-wav2vec2' target='_blank'>
55
- Fine-tuning XLS-R for Multi-Lingual ASR with πŸ€— Transformers
56
- </a></p></center></p>"""
57
 
58
  examples = [["Sample/sample1.mp3"], ["Sample/sample2.mp3"], ["Sample/sample3.mp3"]]
59
 
@@ -76,7 +70,7 @@ def main():
76
  flagging_options=["incorrect", "worst", "ambiguous"],
77
  allow_flagging="manual",
78
  flagging_callback=hf_writer,
79
- # description=description,
80
  article=article,
81
  examples=examples,
82
  theme="peach",
39
  description = """
40
  <p>
41
  <center>
42
+ This model is a fine-tuned version of facebook/wav2vec2-xls-r-300m on the common_voice dataset.
43
  <img src="https://huggingface.co/spaces/kingabzpro/Urdu-ASR-SOTA/blob/main/Images/cover.jpg" alt="logo" width="250"/>
44
  </center>
45
  </p>
47
  article = """<p style='text-align: center'>
48
  <a href='https://dagshub.com/kingabzpro/Urdu-ASR-SOTA' target='_blank'>
49
  Source Code on DagsHub</a>
50
+ </center></p>"""
 
 
 
 
 
 
51
 
52
  examples = [["Sample/sample1.mp3"], ["Sample/sample2.mp3"], ["Sample/sample3.mp3"]]
53
 
70
  flagging_options=["incorrect", "worst", "ambiguous"],
71
  allow_flagging="manual",
72
  flagging_callback=hf_writer,
73
+ description=description,
74
  article=article,
75
  examples=examples,
76
  theme="peach",
packages.txt ADDED
@@ -0,0 +1 @@
 
1
+ ffmpeg