Chia Woon Yap
commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -413,17 +413,15 @@ def tutor_ai_chatbot():
|
|
| 413 |
audio_input = gr.Audio(type="numpy", label="Record or Upload Audio")
|
| 414 |
|
| 415 |
# Voice recording tips - ONLY in AI Chatbot tab
|
| 416 |
-
with gr.Accordion("
|
| 417 |
gr.Markdown("""
|
| 418 |
-
|
| 419 |
-
|
| 420 |
-
|
| 421 |
-
|
| 422 |
-
|
| 423 |
-
|
| 424 |
-
|
| 425 |
-
<li>π If transcription is poor, try recording again or type manually</li>
|
| 426 |
-
</ul>
|
| 427 |
""")
|
| 428 |
|
| 429 |
# Clear chat history button
|
|
|
|
| 413 |
audio_input = gr.Audio(type="numpy", label="Record or Upload Audio")
|
| 414 |
|
| 415 |
# Voice recording tips - ONLY in AI Chatbot tab
|
| 416 |
+
with gr.Accordion("Voice Recording Tips", open=False):
|
| 417 |
gr.Markdown("""
|
| 418 |
+
**For better speech recognition accuracy:**
|
| 419 |
+
- Speak clearly and at a moderate pace
|
| 420 |
+
- Record in a quiet environment
|
| 421 |
+
- Keep the microphone close to your mouth (10-15 cm)
|
| 422 |
+
- Use a good quality microphone if possible
|
| 423 |
+
- Review the transcribed text before sending
|
| 424 |
+
- If transcription is poor, try recording again or type manually
|
|
|
|
|
|
|
| 425 |
""")
|
| 426 |
|
| 427 |
# Clear chat history button
|