Update app.py
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ hf_writer = gr.HuggingFaceDatasetSaver(HF_TOKEN, "flagged_Audio_Lebanese")
|
|
18 |
iface = gr.Interface(
|
19 |
fn=transcribe,
|
20 |
inputs=[
|
21 |
-
gr.Audio(
|
22 |
gr.Textbox(label="Actual Transcription", optional=True)
|
23 |
],
|
24 |
outputs="text",
|
|
|
18 |
iface = gr.Interface(
|
19 |
fn=transcribe,
|
20 |
inputs=[
|
21 |
+
gr.Audio(sources="microphone", type="filepath"),
|
22 |
gr.Textbox(label="Actual Transcription", optional=True)
|
23 |
],
|
24 |
outputs="text",
|