Spaces:
Sleeping
Sleeping
Ryan
commited on
Commit
·
a0ef52d
1
Parent(s):
513711b
update
Browse files
app.py
CHANGED
@@ -804,6 +804,16 @@ def create_app():
|
|
804 |
plot3
|
805 |
]
|
806 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
807 |
|
808 |
return app
|
809 |
|
|
|
804 |
plot3
|
805 |
]
|
806 |
)
|
807 |
+
|
808 |
+
# Update Visualization tab when analysis is run
|
809 |
+
analysis_results_state.change(
|
810 |
+
fn=update_visualizations,
|
811 |
+
inputs=[analysis_results_state],
|
812 |
+
outputs=[
|
813 |
+
bow_viz, ngram_viz, topic_viz, bias_viz, viz_status,
|
814 |
+
# Include all plot components that should be updated
|
815 |
+
]
|
816 |
+
)
|
817 |
|
818 |
return app
|
819 |
|