Spaces:
Runtime error
Runtime error
Commit
·
18b6735
1
Parent(s):
cda7031
Update app.py
Browse files
app.py
CHANGED
|
@@ -61,7 +61,7 @@ def main():
|
|
| 61 |
samples = cast(TTS, tts).synthesize(text_str, speaker_str)
|
| 62 |
return (cast(TTS, tts).get_sampling_rate(), samples)
|
| 63 |
|
| 64 |
-
audio = gr.outputs.Audio(label="Generated Audio")
|
| 65 |
|
| 66 |
iface = gr.Interface(
|
| 67 |
fn=synthesize_audio,
|
|
|
|
| 61 |
samples = cast(TTS, tts).synthesize(text_str, speaker_str)
|
| 62 |
return (cast(TTS, tts).get_sampling_rate(), samples)
|
| 63 |
|
| 64 |
+
audio = gr.outputs.Audio(label="Generated Audio", type="numpy")
|
| 65 |
|
| 66 |
iface = gr.Interface(
|
| 67 |
fn=synthesize_audio,
|