Pendrokar commited on
Commit
df59219
β€’
1 Parent(s): ad6d20f

audio filepath

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -108,7 +108,7 @@ def predict(input, pacing):
108
  with open('resources/app/server.log', 'r') as f:
109
  print(f.read())
110
 
111
- return (22050, save_path)
112
 
113
  input_textbox = gr.Textbox(
114
  label="Input Text",
@@ -123,7 +123,7 @@ gradio_app = gr.Interface(
123
  input_textbox,
124
  slider
125
  ],
126
- outputs="audio",
127
  title="xVASynth (WIP)",
128
  )
129
 
 
108
  with open('resources/app/server.log', 'r') as f:
109
  print(f.read())
110
 
111
+ return save_path
112
 
113
  input_textbox = gr.Textbox(
114
  label="Input Text",
 
123
  input_textbox,
124
  slider
125
  ],
126
+ outputs=gr.Audio(label="22kHz audio", type="filepath"),
127
  title="xVASynth (WIP)",
128
  )
129