Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -45,6 +45,7 @@ def speech_to_speech_translation(audio):
|
|
45 |
return 16000, synthesised_speech
|
46 |
|
47 |
def predict(transType, language, audio, audio_mic = None):
|
|
|
48 |
if not audio and audio_mic:
|
49 |
audio = audio_mic
|
50 |
if transType == "Text":
|
|
|
45 |
return 16000, synthesised_speech
|
46 |
|
47 |
def predict(transType, language, audio, audio_mic = None):
|
48 |
+
print("debug1:", audio,"debug2", audio_mic)
|
49 |
if not audio and audio_mic:
|
50 |
audio = audio_mic
|
51 |
if transType == "Text":
|