Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
audio filepath
Browse files
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
|
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 |
|