mskov commited on
Commit
5108b8d
·
1 Parent(s): 73f2351

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -157,7 +157,8 @@ def classify_toxicity(audio_file, text_input, classify_anxiety, emo_class, expli
157
  return classify_anxiety
158
  def intervention_output(intervene):
159
  if intervene== "Audio File":
160
- out_aud : gr.update(visible=True, autoplay=True)
 
161
  elif intervene == "Therapy App":
162
  out_img : gr.update(visible=True, value="hrv-breathing.gif")
163
  elif intervene == "Text Message":
 
157
  return classify_anxiety
158
  def intervention_output(intervene):
159
  if intervene== "Audio File":
160
+ out_aud : gr.update(value="calm.wav", visible=True, autoplay=True)
161
+ print("audio updated")
162
  elif intervene == "Therapy App":
163
  out_img : gr.update(visible=True, value="hrv-breathing.gif")
164
  elif intervene == "Text Message":