Spaces:
Running
Running
Update app.py
Browse files
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(
|
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."
|