Spaces:
Running
on
T4
Running
on
T4
Update app.py
Browse files
app.py
CHANGED
@@ -21,6 +21,7 @@ Join us : 🌟TeamTonic🌟 is always making cool demos! Join our active builder
|
|
21 |
|
22 |
@spaces.GPU
|
23 |
def whisper_speech_demo(text, lang, speaker_audio, mix_lang, mix_text):
|
|
|
24 |
pipe = Pipeline()
|
25 |
speaker_url = speaker_audio if speaker_audio is not None else None
|
26 |
|
|
|
21 |
|
22 |
@spaces.GPU
|
23 |
def whisper_speech_demo(text, lang, speaker_audio, mix_lang, mix_text):
|
24 |
+
print(f"Text: {text}, Lang: {lang}, Speaker Audio: {speaker_audio}, Mix Lang: {mix_lang}, Mix Text: {mix_text}")
|
25 |
pipe = Pipeline()
|
26 |
speaker_url = speaker_audio if speaker_audio is not None else None
|
27 |
|