JRQi commited on
Commit
ad66570
β€’
1 Parent(s): ab0d3bd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -190,7 +190,7 @@ Choose one of the three tasks below ... and start to play!
190
  slider_3_2 = gr.Slider(label="AI: Male β€”β€”> Female", container=True, min_width=200, height=80, show_label=True, interactive=True)
191
  interpre_button_mf = gr.Button("See how AI gets the answer.", size='sm')
192
  placeholder_text_mf = gr.Textbox(label="Sentence:", value="HELLO! Hallo!", visible=False)
193
- interpretation_mf_2 = gr.components.Interpretation(placeholder_text)
194
  chatbot_mf_1 = gr.Chatbot(height=200, min_width=50, container=False) # height=300
195
  ####################################################################################################
196
  gr.Markdown(''' *** ''')
@@ -206,7 +206,7 @@ Choose one of the three tasks below ... and start to play!
206
  slider_3_3 = gr.Slider(label="Human: Male β€”β€”> Female", container=True, min_width=200, height=80, show_label=True, interactive=True)
207
  chat_button_mf_2 = gr.Button("Click to see AI's answer.", size='sm')
208
  placeholder_written_text_mf = gr.Textbox(label="Sentence: ", value="HELLO! Hallo!", visible=False)
209
- interpretation_mf_4 = gr.components.Interpretation(placeholder_written_text)
210
  slider_3_4 = gr.Slider(label="AI: Male β€”β€”> Female", container=True, min_width=200, height=80, show_label=True, interactive=True)
211
  chatbot_mf_2 = gr.Chatbot(height=350, min_width=50, container=False) # height=300
212
 
 
190
  slider_3_2 = gr.Slider(label="AI: Male β€”β€”> Female", container=True, min_width=200, height=80, show_label=True, interactive=True)
191
  interpre_button_mf = gr.Button("See how AI gets the answer.", size='sm')
192
  placeholder_text_mf = gr.Textbox(label="Sentence:", value="HELLO! Hallo!", visible=False)
193
+ interpretation_mf_2 = gr.components.Interpretation(placeholder_text_mf)
194
  chatbot_mf_1 = gr.Chatbot(height=200, min_width=50, container=False) # height=300
195
  ####################################################################################################
196
  gr.Markdown(''' *** ''')
 
206
  slider_3_3 = gr.Slider(label="Human: Male β€”β€”> Female", container=True, min_width=200, height=80, show_label=True, interactive=True)
207
  chat_button_mf_2 = gr.Button("Click to see AI's answer.", size='sm')
208
  placeholder_written_text_mf = gr.Textbox(label="Sentence: ", value="HELLO! Hallo!", visible=False)
209
+ interpretation_mf_4 = gr.components.Interpretation(placeholder_written_text_mf)
210
  slider_3_4 = gr.Slider(label="AI: Male β€”β€”> Female", container=True, min_width=200, height=80, show_label=True, interactive=True)
211
  chatbot_mf_2 = gr.Chatbot(height=350, min_width=50, container=False) # height=300
212