Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -8,7 +8,7 @@ st.title("AdVeritas — AI Ad Transparency Auditor (LITE)")
|
|
| 8 |
|
| 9 |
@st.cache_resource
|
| 10 |
def get_models():
|
| 11 |
-
return AdVeritasLiteModels(use_toxicity=False)
|
| 12 |
|
| 13 |
models = get_models()
|
| 14 |
|
|
@@ -64,3 +64,4 @@ if run_btn:
|
|
| 64 |
|
| 65 |
st.markdown("### Risk contributions (calibrated)")
|
| 66 |
st.json(result.contributions)
|
|
|
|
|
|
| 8 |
|
| 9 |
@st.cache_resource
|
| 10 |
def get_models():
|
| 11 |
+
return AdVeritasLiteModels(use_toxicity=False)
|
| 12 |
|
| 13 |
models = get_models()
|
| 14 |
|
|
|
|
| 64 |
|
| 65 |
st.markdown("### Risk contributions (calibrated)")
|
| 66 |
st.json(result.contributions)
|
| 67 |
+
|