soiz commited on
Commit
3044bc2
·
verified ·
1 Parent(s): f586543

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -20,7 +20,7 @@ def audio_to_pth(audio):
20
  # Gradio インターフェースの設定
21
  iface = gr.Interface(
22
  fn=audio_to_pth,
23
- inputs=gr.Audio(source="upload", type="filepath"),
24
  outputs="file",
25
  title="Audio to .PTH Converter",
26
  description="Upload an audio file to convert it to a .pth file containing audio features."
 
20
  # Gradio インターフェースの設定
21
  iface = gr.Interface(
22
  fn=audio_to_pth,
23
+ inputs=gr.inputs.Audio(type="filepath"), # 修正箇所
24
  outputs="file",
25
  title="Audio to .PTH Converter",
26
  description="Upload an audio file to convert it to a .pth file containing audio features."