Isidorophp commited on
Commit
06fce6d
Β·
verified Β·
1 Parent(s): 58a3a94

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -134,7 +134,7 @@ async def generate1(TextPrompt):
134
  with tempfile.NamedTemporaryFile(delete=False, suffix=".wav") as tmp_file:
135
  tmp_path = tmp_file.name
136
  await communicate.save(tmp_path)
137
- yield tmp_path, TextOut
138
 
139
 
140
  with gr.Blocks(theme=gr.themes.Glass(font=[gr.themes.GoogleFont("Inconsolata"), "Arial", "Arial"])) as demo:
 
134
  with tempfile.NamedTemporaryFile(delete=False, suffix=".wav") as tmp_file:
135
  tmp_path = tmp_file.name
136
  await communicate.save(tmp_path)
137
+ yield TextOut, tmp_path
138
 
139
 
140
  with gr.Blocks(theme=gr.themes.Glass(font=[gr.themes.GoogleFont("Inconsolata"), "Arial", "Arial"])) as demo: