kmknair commited on
Commit
a7bf230
·
1 Parent(s): e60cafb

added examples and labels-3

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -16,7 +16,7 @@ def transcribe_ta(audio_u, audio_m):
16
  if(audio_u is not None):
17
  text += p_ta(audio_u)["text"]
18
  if (audio_m is not None):
19
- text += p_ta(audio_m)["text"]
20
 
21
  return text
22
 
@@ -31,7 +31,7 @@ def transcribe_ar(audio_u, audio_m):
31
  if audio_u is not None:
32
  text += p_ar(audio_u)["text"]
33
  if audio_m is not None:
34
- text += p_ar(audio_m)["text"]
35
  return text
36
 
37
  def transcribe_ar_stream(audio, state=""):
@@ -45,7 +45,7 @@ def transcribe_en(audio_u, audio_m):
45
  if audio_u is not None:
46
  text += p_en(audio_u)["text"]
47
  if audio_m is not None:
48
- text += p_en(audio_m)["text"]
49
  return text
50
 
51
  def transcribe_en_stream(audio, state=""):
 
16
  if(audio_u is not None):
17
  text += p_ta(audio_u)["text"]
18
  if (audio_m is not None):
19
+ text += "\n" + p_ta(audio_m)["text"]
20
 
21
  return text
22
 
 
31
  if audio_u is not None:
32
  text += p_ar(audio_u)["text"]
33
  if audio_m is not None:
34
+ text += "\n" + p_ar(audio_m)["text"]
35
  return text
36
 
37
  def transcribe_ar_stream(audio, state=""):
 
45
  if audio_u is not None:
46
  text += p_en(audio_u)["text"]
47
  if audio_m is not None:
48
+ text += "\n" + p_en(audio_m)["text"]
49
  return text
50
 
51
  def transcribe_en_stream(audio, state=""):