nijisakai commited on
Commit
4370d02
1 Parent(s): b902abf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -1
app.py CHANGED
@@ -243,10 +243,19 @@ interface_mic = gr.Interface(
243
  ],
244
  outputs="audio",
245
  cache_examples=False,
246
- title="🌊💕🎶 - 滔滔AI+音乐:可从B站直接上传素材,无需分离背景音",
247
  description=description,
248
  article=article,
249
  )
 
 
 
 
 
 
 
 
 
250
  interface_file = gr.Interface(
251
  predict,
252
  inputs=[
 
243
  ],
244
  outputs="audio",
245
  cache_examples=False,
246
+ title="可从B站直接上传素材,无需分离背景音",
247
  description=description,
248
  article=article,
249
  )
250
+ iface = gr.Interface(
251
+ fn=gr_interface,
252
+ inputs=gr.inputs.File(type="video"),
253
+ outputs=[
254
+ gr.outputs.Audio(label="Vocals"),
255
+ gr.outputs.Audio(label="Instrumental")
256
+ ],
257
+ live=True
258
+ )
259
  interface_file = gr.Interface(
260
  predict,
261
  inputs=[