Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -57,7 +57,7 @@ def main():
|
|
57 |
|
58 |
audio_iface = gr.Interface(
|
59 |
fn=gradio_audio_interface,
|
60 |
-
inputs=gr.Audio(
|
61 |
outputs=["text", "text", "number", "text"],
|
62 |
title="AI Grammar Checker (Audio)",
|
63 |
description="Speak to check grammar, get suggestions, and see a score."
|
|
|
57 |
|
58 |
audio_iface = gr.Interface(
|
59 |
fn=gradio_audio_interface,
|
60 |
+
inputs=gr.Audio(sources=["microphone"], type="filepath"), # Fixed here
|
61 |
outputs=["text", "text", "number", "text"],
|
62 |
title="AI Grammar Checker (Audio)",
|
63 |
description="Speak to check grammar, get suggestions, and see a score."
|