Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -132,7 +132,7 @@ with gr.Blocks() as iface:
|
|
| 132 |
post_ph_audio = ""
|
| 133 |
mel_image_path = None
|
| 134 |
text_result = text_to_phonemes(text_input) if text_input and text_input.strip() else {}
|
| 135 |
-
text_phonemes =
|
| 136 |
return audio_path, mel_image_path, raw_ph_audio, post_ph_audio, text_phonemes
|
| 137 |
|
| 138 |
process_button.click(
|
|
|
|
| 132 |
post_ph_audio = ""
|
| 133 |
mel_image_path = None
|
| 134 |
text_result = text_to_phonemes(text_input) if text_input and text_input.strip() else {}
|
| 135 |
+
text_phonemes = "".join(text_result)
|
| 136 |
return audio_path, mel_image_path, raw_ph_audio, post_ph_audio, text_phonemes
|
| 137 |
|
| 138 |
process_button.click(
|