Chaitanya895 commited on
Commit
9ebd576
·
verified ·
1 Parent(s): 4f9f441

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1001,7 +1001,8 @@ else:
1001
  if mic_ok:
1002
  st.success("✅ Microphone available")
1003
  else:
1004
- st.warning("⚠️ Microphone not available (voice input disabled)")
 
1005
  if tts_ok:
1006
  st.success("✅ Text-to-Speech available")
1007
  if st.button("🔊 Voice Help", help="Listen to voice instructions"):
 
1001
  if mic_ok:
1002
  st.success("✅ Microphone available")
1003
  else:
1004
+ # Clarify that WebRTC may enable mic even without PyAudio
1005
+ st.warning("⚠️ Microphone not available (native). If using a browser, WebRTC capture will be used where supported.")
1006
  if tts_ok:
1007
  st.success("✅ Text-to-Speech available")
1008
  if st.button("🔊 Voice Help", help="Listen to voice instructions"):