Chia Woon Yap commited on
Commit
165d756
Β·
verified Β·
1 Parent(s): 2960fc6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -10
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("🎀 Voice Recording Tips", open=False):
417
  gr.Markdown("""
418
- <strong>For better speech recognition accuracy:</strong>
419
- <ul>
420
- <li>πŸŽ™οΈ Speak clearly and at a moderate pace</li>
421
- <li>πŸ”‡ Record in a quiet environment</li>
422
- <li>πŸ“ Keep the microphone close to your mouth (10-15 cm)</li>
423
- <li>🎧 Use a good quality microphone if possible</li>
424
- <li>πŸ“ Review the transcribed text before sending</li>
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