Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ def get_speech(text, voice):
|
|
6 |
client = Client("collabora/WhisperSpeech")
|
7 |
result = client.predict(
|
8 |
multilingual_text=text,
|
9 |
-
speaker_audio=voice,
|
10 |
speaker_url="",
|
11 |
cps=14,
|
12 |
api_name="/whisper_speech_demo"
|
|
|
6 |
client = Client("collabora/WhisperSpeech")
|
7 |
result = client.predict(
|
8 |
multilingual_text=text,
|
9 |
+
speaker_audio=handle_file(voice),
|
10 |
speaker_url="",
|
11 |
cps=14,
|
12 |
api_name="/whisper_speech_demo"
|