mskov commited on
Commit
a65fa61
·
1 Parent(s): 5d68988

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -160,7 +160,7 @@ with gr.Blocks() as iface:
160
  anxiety_class = gr.Radio(["racism", "LGBTQ+ hate", "sexually explicit", "misophonia"])
161
  explit_preference = gr.Radio(choices=["N-Word", "B-Word", "All Explitives"], label="Words to omit from general anxiety classes", info="certain words may be acceptible within certain contects for given groups of people, and some people may be unbothered by explitives broadly speaking.")
162
  emo_class = gr.Radio(choices=["negaitve emotionality"], label="label", info="Select if you would like explitives to be considered anxiety-indiucing in the case of anger/ negative emotionality.")
163
- sense_slider = gr.Slider(minimum=1, maximum=5, step=1, label="How readily do you want the tool to intervene? 1 = in extreme cases and 5 = at every opportunity")
164
  with gr.Column():
165
  aud_input = gr.Audio(source="upload", type="filepath", label="Upload Audio File")
166
  text = gr.Textbox(label="Enter Text", placeholder="Enter text here...")
 
160
  anxiety_class = gr.Radio(["racism", "LGBTQ+ hate", "sexually explicit", "misophonia"])
161
  explit_preference = gr.Radio(choices=["N-Word", "B-Word", "All Explitives"], label="Words to omit from general anxiety classes", info="certain words may be acceptible within certain contects for given groups of people, and some people may be unbothered by explitives broadly speaking.")
162
  emo_class = gr.Radio(choices=["negaitve emotionality"], label="label", info="Select if you would like explitives to be considered anxiety-indiucing in the case of anger/ negative emotionality.")
163
+ sense_slider = gr.Slider(minimum=1, maximum=5, step=1.0, label="How readily do you want the tool to intervene? 1 = in extreme cases and 5 = at every opportunity")
164
  with gr.Column():
165
  aud_input = gr.Audio(source="upload", type="filepath", label="Upload Audio File")
166
  text = gr.Textbox(label="Enter Text", placeholder="Enter text here...")