JRQi commited on
Commit
3c8872c
1 Parent(s): 6f191ac

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -204,8 +204,8 @@ Choose one of the three tasks below ... and start to play!
204
  # chat_button_1.click(func1, inputs=[lang_selected, num_selected, slider_1_1, num1, num2, checkbox_1], outputs=[slider_1_2, chatbot1, num1, num2, tot_scores, plot])
205
  # interpre_button.click(interpre1, inputs=[lang_selected, num_selected], outputs=[interpretation2])
206
 
207
- sample_button_en.click(read1, inputs=[text_en], outputs=[interpretation1, lang_selected, num_selected, interpretation2, slider_1_1, slider_1_2, chatbot1])
208
- sample_button_nl.click(read1, inputs=[text_nl], outputs=[interpretation1, lang_selected, num_selected, interpretation2, slider_1_1, slider_1_2, chatbot1])
209
  chat_button_1.click(func1, inputs=[lang_selected, num_selected, slider_1_1, num1, num2, user_important], outputs=[slider_1_2, chatbot1, num1, num2, tot_scores, plot])
210
  interpre_button.click(interpre1, inputs=[lang_selected, num_selected], outputs=[interpretation2])
211
 
 
204
  # chat_button_1.click(func1, inputs=[lang_selected, num_selected, slider_1_1, num1, num2, checkbox_1], outputs=[slider_1_2, chatbot1, num1, num2, tot_scores, plot])
205
  # interpre_button.click(interpre1, inputs=[lang_selected, num_selected], outputs=[interpretation2])
206
 
207
+ sample_button_en.click(read1, inputs=[text_en], outputs=[interpretation1, lang_selected, num_selected, interpretation2, slider_1_1, slider_1_2, chatbot1, user_important])
208
+ sample_button_nl.click(read1, inputs=[text_nl], outputs=[interpretation1, lang_selected, num_selected, interpretation2, slider_1_1, slider_1_2, chatbot1, user_important])
209
  chat_button_1.click(func1, inputs=[lang_selected, num_selected, slider_1_1, num1, num2, user_important], outputs=[slider_1_2, chatbot1, num1, num2, tot_scores, plot])
210
  interpre_button.click(interpre1, inputs=[lang_selected, num_selected], outputs=[interpretation2])
211