Spaces:
Sleeping
Sleeping
Abid
commited on
Commit
β’
25df624
1
Parent(s):
97b3ed4
pacakge added
Browse files- Gradio/app.py +3 -9
- packages.txt +1 -0
Gradio/app.py
CHANGED
@@ -39,7 +39,7 @@ title = "Urdu Automatic Speech Recognition"
|
|
39 |
description = """
|
40 |
<p>
|
41 |
<center>
|
42 |
-
|
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
|
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 |
-
|
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
|