geethareddy commited on
Commit
341af6d
·
verified ·
1 Parent(s): 9d6f645

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -188,12 +188,12 @@ def store_in_salesforce(audio_file, feedback, respiratory_score, mental_health_s
188
  # Gradio interface
189
  iface = gr.Interface(
190
  fn=analyze_voice,
191
- inputs=gr.Audio(type="filepath", label="Record or Upload Your Voice (WAV, MP3, FLAC, 1+ sec)", source="upload", format="wav"),
192
  outputs=gr.Textbox(label="Health Assessment Results"),
193
  title="Voice Health Analyzer",
194
  description="Record or upload your voice (minimum 1 second) to receive preliminary health insights. Speak clearly in English about your symptoms."
195
  )
196
 
197
  if __name__ == "__main__":
198
- logger.info("Starting Voice Health Analyzer at 11:58 AM IST, June 23, 2025")
199
  iface.launch(server_name="0.0.0.0", server_port=7860)
 
188
  # Gradio interface
189
  iface = gr.Interface(
190
  fn=analyze_voice,
191
+ inputs=gr.Audio(type="filepath", label="Record or Upload Your Voice (WAV, MP3, FLAC, 1+ sec)", format="wav"),
192
  outputs=gr.Textbox(label="Health Assessment Results"),
193
  title="Voice Health Analyzer",
194
  description="Record or upload your voice (minimum 1 second) to receive preliminary health insights. Speak clearly in English about your symptoms."
195
  )
196
 
197
  if __name__ == "__main__":
198
+ logger.info("Starting Voice Health Analyzer at 12:05 PM IST, June 23, 2025")
199
  iface.launch(server_name="0.0.0.0", server_port=7860)