Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -582,7 +582,7 @@ with gr.Blocks(title="Bias Detection & Mitigation Tool") as demo:
|
|
| 582 |
)
|
| 583 |
gr.Button("Load Test Samples").click(
|
| 584 |
fn=run_tests_button,
|
| 585 |
-
outputs=
|
| 586 |
)
|
| 587 |
with gr.Tab("Neutralize Prompt"):
|
| 588 |
gr.Markdown("### Get a more neutral version of your prompt")
|
|
|
|
| 582 |
)
|
| 583 |
gr.Button("Load Test Samples").click(
|
| 584 |
fn=run_tests_button,
|
| 585 |
+
outputs=analysis_output # whatever your output component is
|
| 586 |
)
|
| 587 |
with gr.Tab("Neutralize Prompt"):
|
| 588 |
gr.Markdown("### Get a more neutral version of your prompt")
|