laxsvips commited on
Commit
0ed64e9
·
1 Parent(s): 654a25e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -8,6 +8,7 @@ def gentext():
8
 
9
  def genaudio(text):
10
  result = audio.generate_voice(text)
 
11
 
12
  generate_text_gr = gradio.Interface(
13
  fn=gentext,
 
8
 
9
  def genaudio(text):
10
  result = audio.generate_voice(text)
11
+ return result
12
 
13
  generate_text_gr = gradio.Interface(
14
  fn=gentext,