Freddolin commited on
Commit
0f259d8
·
verified ·
1 Parent(s): 5e4a83b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -1,4 +1,3 @@
1
- # --- app.py ---
2
  import os
3
  import gradio as gr
4
  import requests
@@ -103,7 +102,7 @@ with gr.Blocks() as demo:
103
 
104
  with gr.Tab("🔍 Test Manual Question"):
105
  question = gr.Textbox(label="Question")
106
- files = gr.File(label="Optional files (mp3, wav, xlsx)", file_types=['.mp3', '.wav', '.xlsx'], type="file", file_count="multiple")
107
  submit = gr.Button("Run Agent")
108
  answer = gr.Textbox(label="Answer")
109
  reasoning = gr.Textbox(label="Reasoning Trace")
 
 
1
  import os
2
  import gradio as gr
3
  import requests
 
102
 
103
  with gr.Tab("🔍 Test Manual Question"):
104
  question = gr.Textbox(label="Question")
105
+ files = gr.File(label="Optional files (mp3, wav, xlsx)", file_types=['.mp3', '.wav', '.xlsx'], type="filepath", file_count="multiple")
106
  submit = gr.Button("Run Agent")
107
  answer = gr.Textbox(label="Answer")
108
  reasoning = gr.Textbox(label="Reasoning Trace")