Spaces:
Running
Running
fistyee
commited on
Commit
·
61df3f6
1
Parent(s):
964b71d
fix bug
Browse files
__pycache__/evaluation_processor.cpython-311.pyc
CHANGED
Binary files a/__pycache__/evaluation_processor.cpython-311.pyc and b/__pycache__/evaluation_processor.cpython-311.pyc differ
|
|
app.py
CHANGED
@@ -104,9 +104,9 @@ iface = gr.Interface(
|
|
104 |
fn=process_input,
|
105 |
inputs=[
|
106 |
gr.Textbox(label="Input Text", placeholder="我是音乐分析大模型,您可以上传曲谱,演奏的音/视频", lines=2), # 文本输入
|
107 |
-
gr.File(label="Input Images", file_count="multiple", type="
|
108 |
-
gr.File(label="Input Audio", type="
|
109 |
-
gr.File(label="Input Video", type="
|
110 |
],
|
111 |
outputs=[
|
112 |
gr.Textbox(label="Output Text")
|
|
|
104 |
fn=process_input,
|
105 |
inputs=[
|
106 |
gr.Textbox(label="Input Text", placeholder="我是音乐分析大模型,您可以上传曲谱,演奏的音/视频", lines=2), # 文本输入
|
107 |
+
gr.File(label="Input Images", file_count="multiple", type="filepath"), # 多文件上传
|
108 |
+
gr.File(label="Input Audio", type="filepath"), # 音频文件上传
|
109 |
+
gr.File(label="Input Video", type="filepath") # 视频文件上传
|
110 |
],
|
111 |
outputs=[
|
112 |
gr.Textbox(label="Output Text")
|