Update app.py
Browse files
app.py
CHANGED
|
@@ -170,6 +170,6 @@ with gr.Blocks(title="Philosophical Analyzer") as demo:
|
|
| 170 |
|
| 171 |
submit_btn.click(analyze_text, inputs=input_text,
|
| 172 |
outputs=[school, score, profile_box, timeline, best_quote, conceptual_map, psych_box])
|
| 173 |
-
clear_btn.click(clear_fields, outputs=[school, score, profile_box, timeline, best_quote, conceptual_map, psych_box])
|
| 174 |
|
| 175 |
demo.launch()
|
|
|
|
| 170 |
|
| 171 |
submit_btn.click(analyze_text, inputs=input_text,
|
| 172 |
outputs=[school, score, profile_box, timeline, best_quote, conceptual_map, psych_box])
|
| 173 |
+
clear_btn.click(clear_fields, outputs=[input_text, school, score, profile_box, timeline, best_quote, conceptual_map, psych_box])
|
| 174 |
|
| 175 |
demo.launch()
|