Update app.py
Browse files
app.py
CHANGED
|
@@ -187,7 +187,7 @@ def _infer(user_audio, generator, whisper_model, model_a, whisper_metadata, toke
|
|
| 187 |
# --- GRADIO INTERFACE ---
|
| 188 |
with gr.Blocks() as app:
|
| 189 |
gr.Markdown(SPACE_INTRO_TEXT)
|
| 190 |
-
audio_input = gr.Audio(label="Your Input",
|
| 191 |
audio_output = gr.Audio(label="AI Response")
|
| 192 |
clear_button = gr.Button("Clear Conversation History")
|
| 193 |
status_display = gr.Textbox(label="Status", visible=False)
|
|
|
|
| 187 |
# --- GRADIO INTERFACE ---
|
| 188 |
with gr.Blocks() as app:
|
| 189 |
gr.Markdown(SPACE_INTRO_TEXT)
|
| 190 |
+
audio_input = gr.Audio(label="Your Input", type="filepath")
|
| 191 |
audio_output = gr.Audio(label="AI Response")
|
| 192 |
clear_button = gr.Button("Clear Conversation History")
|
| 193 |
status_display = gr.Textbox(label="Status", visible=False)
|