Update app.py
Browse files
app.py
CHANGED
@@ -5,6 +5,7 @@ tts = gr.Interface.load(name="spaces/StevenLimcorn/fastspeech2-TTS")
|
|
5 |
|
6 |
def infer(audio):
|
7 |
gpt_response = whisper_to_gpt(audio, "translate", fn_index=2)
|
|
|
8 |
audio_response = tts(gpt_response, "Fastspeech2 + Melgan", fn_index=0)
|
9 |
return audio_response
|
10 |
|
|
|
5 |
|
6 |
def infer(audio):
|
7 |
gpt_response = whisper_to_gpt(audio, "translate", fn_index=2)
|
8 |
+
print(gpt_response)
|
9 |
audio_response = tts(gpt_response, "Fastspeech2 + Melgan", fn_index=0)
|
10 |
return audio_response
|
11 |
|