JRQi commited on
Commit
60f142b
1 Parent(s): d940b2f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -171,7 +171,7 @@ with gr.Blocks(theme=gr.themes.Default(text_size=gr.themes.sizes.text_md)) as de
171
  sample_button_en_3 = gr.Button("Click to get a sentence", size='sm')
172
  input_text_mf = gr.Textbox(label="Sentence:", value="HELLO! Hallo!", visible=False, container=False)
173
  interpretation_mf_1 = gr.components.Interpretation(input_text_mf)
174
- slider_3_1 = gr.Slider(label="Your guess of author gender: Male(0) ——> Female(10)", maximum=10, container=True, min_width=200, height=80, show_label=True, interactive=True)
175
  user_important_mf = gr.Textbox(label="Which words are your guesses based on?", placeholder="Enter words that you think are important for the task")
176
  with gr.Column(scale=1):
177
  gr.Markdown(
 
171
  sample_button_en_3 = gr.Button("Click to get a sentence", size='sm')
172
  input_text_mf = gr.Textbox(label="Sentence:", value="HELLO! Hallo!", visible=False, container=False)
173
  interpretation_mf_1 = gr.components.Interpretation(input_text_mf)
174
+ slider_3_1 = 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)
175
  user_important_mf = gr.Textbox(label="Which words are your guesses based on?", placeholder="Enter words that you think are important for the task")
176
  with gr.Column(scale=1):
177
  gr.Markdown(