Irpan commited on
Commit
668fb3c
1 Parent(s): 499b2c1
Files changed (2) hide show
  1. app.py +2 -0
  2. util.py +16 -1
app.py CHANGED
@@ -27,6 +27,7 @@ mms_transcribe = gr.Interface(
27
  description=(
28
  "Transcribe Uyghur speech audio from a microphone or input file."
29
  ),
 
30
  allow_flagging="never",
31
  )
32
 
@@ -49,6 +50,7 @@ mms_synthesize = gr.Interface(
49
  description=(
50
  "Generate audio from input Uyghur text."
51
  ),
 
52
  allow_flagging="never",
53
  )
54
 
 
27
  description=(
28
  "Transcribe Uyghur speech audio from a microphone or input file."
29
  ),
30
+ article=util.asr_notes,
31
  allow_flagging="never",
32
  )
33
 
 
50
  description=(
51
  "Generate audio from input Uyghur text."
52
  ),
53
+ article=util.tts_notes,
54
  allow_flagging="never",
55
  )
56
 
util.py CHANGED
@@ -25,4 +25,19 @@ tts_examples = [
25
  ["Yaxshimusiz?", "IS2AI-TurkicTTS"],
26
  ["Yaxshimusiz?", "Meta-MMS"],
27
  ["Yaxshimusiz?", "Ixxan-FineTuned-MMS"]
28
- ]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
  ["Yaxshimusiz?", "IS2AI-TurkicTTS"],
26
  ["Yaxshimusiz?", "Meta-MMS"],
27
  ["Yaxshimusiz?", "Ixxan-FineTuned-MMS"]
28
+ ]
29
+
30
+ asr_notes = """
31
+ The models used in this demo are:
32
+ - OpenAI-Whisper: OpenAI's Whisper-small model for Uzbek language. (As Uyghur is not supported by OpenAI Whisper) More info: https://huggingface.co/openai/whisper-small
33
+ - Meta-MMS: Meta's MMS ASR model for Uyghur Ararbic script. More info: https://huggingface.co/facebook/mms-1b-all
34
+ - Ixxan-FineTuned-Whisper: Whisper-small fine-tuned with Uyghur datasets. More info: https://huggingface.co/ixxan/whisper-small-uyghur-common-voice
35
+ - Ixxan-FineTuned-MMS: MMS fine-tuned with Uyghur datasets. More info: https://huggingface.co/ixxan/wav2vec2-large-mms-1b-uyghur-latin
36
+ """
37
+
38
+ tts_notes = """
39
+ The models used in this demo are:
40
+ - IS2AI-TurkicTTS: IS2AI's Turkic TTS model for Uyghur language. More info: https://github.com/IS2AI/TurkicTTS
41
+ - Meta-MMS: Meta's TTS model for Uyghur Ararbic script. More info: https://huggingface.co/facebook/mms-tts-uig-script_arabic
42
+ - Ixxan-FineTuned-MMS: MMS fine-tuned with Uyghur datasets. More info: https://huggingface.co/ixxan/mms-tts-uig-script_arabic-UQSpeech
43
+ """