Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,11 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
def audioStyleTransfer(content,style):
|
4 |
-
|
|
|
|
|
|
|
|
|
5 |
|
6 |
iface = gr.Interface(fn=audioStyleTransfer, inputs=[gr.Audio(source="upload",type="filepath",label="Content"),gr.Audio(source="upload",type="filepath",label="Style")], outputs=gr.Audio(label="Output"))
|
7 |
iface.launch()
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
def audioStyleTransfer(content,style):
|
4 |
+
print (style,content)
|
5 |
+
output = ""
|
6 |
+
models/timedomain.py -s style -c content -o output
|
7 |
+
print ("output is " ,output)
|
8 |
+
return output
|
9 |
|
10 |
iface = gr.Interface(fn=audioStyleTransfer, inputs=[gr.Audio(source="upload",type="filepath",label="Content"),gr.Audio(source="upload",type="filepath",label="Style")], outputs=gr.Audio(label="Output"))
|
11 |
iface.launch()
|