fffiloni commited on
Commit
8d7bcfc
1 Parent(s): 340d310

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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"