Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -209,8 +209,8 @@ Choose one of the three tasks below ... and start to play!
|
|
209 |
# 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])
|
210 |
# interpre_button.click(interpre1, inputs=[lang_selected, num_selected], outputs=[interpretation2])
|
211 |
|
212 |
-
sample_button_en.click(read1, inputs=[text_en], outputs=[interpretation1, lang_selected, num_selected])
|
213 |
-
sample_button_nl.click(read1, inputs=[text_nl], outputs=[interpretation1, lang_selected, num_selected])
|
214 |
num_selected.change(reset_modules, outputs=[interpretation2, slider_1_1, slider_1_2, chatbot1, user_important])
|
215 |
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])
|
216 |
interpre_button.click(interpre1, inputs=[lang_selected, num_selected], outputs=[interpretation2])
|
|
|
209 |
# 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])
|
210 |
# interpre_button.click(interpre1, inputs=[lang_selected, num_selected], outputs=[interpretation2])
|
211 |
|
212 |
+
sample_button_en.click(read1, inputs=[text_en, num_selected], outputs=[interpretation1, lang_selected, num_selected])
|
213 |
+
sample_button_nl.click(read1, inputs=[text_nl, num_selected], outputs=[interpretation1, lang_selected, num_selected])
|
214 |
num_selected.change(reset_modules, outputs=[interpretation2, slider_1_1, slider_1_2, chatbot1, user_important])
|
215 |
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])
|
216 |
interpre_button.click(interpre1, inputs=[lang_selected, num_selected], outputs=[interpretation2])
|