Update app.py
Browse files
app.py
CHANGED
|
@@ -142,8 +142,8 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
| 142 |
|
| 143 |
with gr.Row():
|
| 144 |
with gr.Column(scale=2):
|
| 145 |
-
|
| 146 |
-
audio_input = gr.Audio(sources=[ 'upload'], type="filepath", label="Audio Input")
|
| 147 |
youtube_input = gr.Textbox(label="YouTube URL", placeholder="Or paste a YouTube URL here...")
|
| 148 |
video_player = gr.HTML(visible=False)
|
| 149 |
#timestamp_toggle = gr.Checkbox(label="Include Timestamps", value=False)
|
|
|
|
| 142 |
|
| 143 |
with gr.Row():
|
| 144 |
with gr.Column(scale=2):
|
| 145 |
+
audio_input = gr.Audio(sources=['microphone', 'upload'], type="filepath", label="Audio Input")
|
| 146 |
+
#audio_input = gr.Audio(sources=[ 'upload'], type="filepath", label="Audio Input")
|
| 147 |
youtube_input = gr.Textbox(label="YouTube URL", placeholder="Or paste a YouTube URL here...")
|
| 148 |
video_player = gr.HTML(visible=False)
|
| 149 |
#timestamp_toggle = gr.Checkbox(label="Include Timestamps", value=False)
|