Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -262,8 +262,8 @@ with gr.Blocks(theme=theme) as demo:
|
|
262 |
with gr.Row():
|
263 |
with gr.Column(scale=2):
|
264 |
text_written_mf = gr.Textbox(label="Sentence: ", placeholder="Enter a sentence.", visible=True)
|
265 |
-
|
266 |
-
slider_3_3 = gr.Slider(label="See any gender-biased words in your sentence? Give them a score: Male(0) ——> Female(10)", maximum=10, step=1, container=True, min_width=200, height=80, show_label=True, interactive=True)
|
267 |
chat_button_mf_2 = gr.Button("Click to see AI's guess", size='sm')
|
268 |
placeholder_written_text_mf = gr.Textbox(label="Red higlights: Female / Blue higlights: Male", value="HELLO! Hallo!", visible=False)
|
269 |
interpretation_mf_4 = gr.components.Interpretation(placeholder_written_text_mf)
|
|
|
262 |
with gr.Row():
|
263 |
with gr.Column(scale=2):
|
264 |
text_written_mf = gr.Textbox(label="Sentence: ", placeholder="Enter a sentence.", visible=True)
|
265 |
+
slider_3_3 = gr.Slider(label="Your guess of author gender: Male(0) ——> Female(10)", maximum=10, step=1, container=True, min_width=200, height=80, show_label=True, interactive=True)
|
266 |
+
# slider_3_3 = gr.Slider(label="See any gender-biased words in your sentence? Give them a score: Male(0) ——> Female(10)", maximum=10, step=1, container=True, min_width=200, height=80, show_label=True, interactive=True)
|
267 |
chat_button_mf_2 = gr.Button("Click to see AI's guess", size='sm')
|
268 |
placeholder_written_text_mf = gr.Textbox(label="Red higlights: Female / Blue higlights: Male", value="HELLO! Hallo!", visible=False)
|
269 |
interpretation_mf_4 = gr.components.Interpretation(placeholder_written_text_mf)
|