Upload app.py
Browse files
    	
        app.py
    CHANGED
    
    | @@ -704,14 +704,14 @@ def ui_surprise(selector, filter_label="any"): | |
| 704 | 
             
                return selector, r["question"], r["solution"]
         | 
| 705 |  | 
| 706 | 
             
            def _clear_all():
         | 
| 707 | 
            -
            return (
         | 
| 708 | 
            -
             | 
| 709 | 
            -
             | 
| 710 | 
            -
             | 
| 711 | 
            -
             | 
| 712 | 
            -
             | 
| 713 | 
            -
             | 
| 714 | 
            -
            )
         | 
| 715 |  | 
| 716 | 
             
            components_to_clear = [
         | 
| 717 | 
             
                question_input,
         | 
|  | |
| 704 | 
             
                return selector, r["question"], r["solution"]
         | 
| 705 |  | 
| 706 | 
             
            def _clear_all():
         | 
| 707 | 
            +
                return (
         | 
| 708 | 
            +
                    "",           # question_input
         | 
| 709 | 
            +
                    "",           # solution_input
         | 
| 710 | 
            +
                    "",           # expected_label_example (hidden)
         | 
| 711 | 
            +
                    "",           # classification_output
         | 
| 712 | 
            +
                    "",           # explanation_output
         | 
| 713 | 
            +
                    "*(idle)*",   # status_output (Markdown)
         | 
| 714 | 
            +
                )
         | 
| 715 |  | 
| 716 | 
             
            components_to_clear = [
         | 
| 717 | 
             
                question_input,
         |