tykiww commited on
Commit
6ba8d0a
·
verified ·
1 Parent(s): cf0681a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -27,7 +27,7 @@ def init_TTS(config):
27
 
28
 
29
  @spaces.GPU
30
- def generate_speech(voice_choice, microphone, text):
31
  # Generate speech using the provided text, speaker voice, and language
32
 
33
  if voice_choice=="Record":
@@ -61,6 +61,7 @@ def UI(config):
61
  fn=generate_speech,
62
  inputs=[
63
  voice_choice,
 
64
  microphone,
65
  enter_text
66
  ],
 
27
 
28
 
29
  @spaces.GPU
30
+ def generate_speech(voice_choice, markdown, microphone, text):
31
  # Generate speech using the provided text, speaker voice, and language
32
 
33
  if voice_choice=="Record":
 
61
  fn=generate_speech,
62
  inputs=[
63
  voice_choice,
64
+ markdown,
65
  microphone,
66
  enter_text
67
  ],