Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -191,10 +191,10 @@ def main_interface(user_prompt, image=None, video=None, audio=None, doc=None, vo
|
|
191 |
# Gradio App Setup
|
192 |
with gr.Blocks() as demo:
|
193 |
user_prompt = gr.Textbox(placeholder="Type your message here...", lines=1)
|
194 |
-
image_input = gr.Image(type="
|
195 |
-
video_input = gr.Video(type="
|
196 |
-
audio_input = gr.Audio(type="
|
197 |
-
doc_input = gr.File(type="
|
198 |
voice_only_mode = gr.Checkbox(label="Enable Voice Only Mode")
|
199 |
output = gr.Output()
|
200 |
|
|
|
191 |
# Gradio App Setup
|
192 |
with gr.Blocks() as demo:
|
193 |
user_prompt = gr.Textbox(placeholder="Type your message here...", lines=1)
|
194 |
+
image_input = gr.Image(type="filepath", label="Upload an image")
|
195 |
+
video_input = gr.Video(type="filepath", label="Upload a video")
|
196 |
+
audio_input = gr.Audio(type="filepath", label="Upload audio")
|
197 |
+
doc_input = gr.File(type="filepath", label="Upload a document")
|
198 |
voice_only_mode = gr.Checkbox(label="Enable Voice Only Mode")
|
199 |
output = gr.Output()
|
200 |
|