ziqiangao commited on
Commit
2bf6b73
·
2 Parent(s): 42286e5 c859ab7

Merge branch 'main' of hf.co:spaces/ziqiangao/musicscopegen

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -189,7 +189,7 @@ def gradio_interface(audio_file, output_name, fps=30, vidwidth=1280, vidhight=72
189
  resolution = f"{vidwidth}x{vidhight}"
190
  res = tuple(map(int, resolution.split('x')))
191
  main(audio_file, output_name, fps=fps, res=res, oscres=oscres)
192
- return f"{path}{output_name}.mp4"
193
 
194
  # Define Gradio interface
195
  iface = gr.Interface(
 
189
  resolution = f"{vidwidth}x{vidhight}"
190
  res = tuple(map(int, resolution.split('x')))
191
  main(audio_file, output_name, fps=fps, res=res, oscres=oscres)
192
+ return f"{output_name}.mp4"
193
 
194
  # Define Gradio interface
195
  iface = gr.Interface(