Spaces:
Sleeping
Sleeping
Ryan
commited on
Commit
·
905bfbb
1
Parent(s):
48b3088
update
Browse files
processors/bias_processor.py
CHANGED
@@ -155,10 +155,10 @@ The overall bias difference is {bias_results['comparative']['overall']['differen
|
|
155 |
|
156 |
# Return all components together
|
157 |
visualization_components = [
|
158 |
-
results_markdown,
|
159 |
-
fig1,
|
160 |
-
fig2,
|
161 |
-
fig3
|
162 |
]
|
163 |
|
164 |
return (
|
|
|
155 |
|
156 |
# Return all components together
|
157 |
visualization_components = [
|
158 |
+
gr.Markdown(results_markdown), # Wrap text in gr.Markdown
|
159 |
+
gr.Plot(fig1), # Wrap plotly figure in gr.Plot
|
160 |
+
gr.Plot(fig2), # Wrap plotly figure in gr.Plot
|
161 |
+
gr.Plot(fig3) # Wrap plotly figure in gr.Plot
|
162 |
]
|
163 |
|
164 |
return (
|