Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -160,7 +160,7 @@ with gr.Blocks() as iface:
|
|
160 |
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.")
|
161 |
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.")
|
162 |
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")
|
163 |
-
intervention_type = gr.Dropdown(choices=["
|
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 |
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.")
|
161 |
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.")
|
162 |
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")
|
163 |
+
intervention_type = gr.Dropdown(choices=["Therapy App", "Audio File", "Text Message"])
|
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...")
|