Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -2351,7 +2351,7 @@ def generate_trust_score_image(score):
|
|
| 2351 |
ax.text(0, 0, f"{score}", ha='center', va='center', fontsize=19, fontweight='bold')
|
| 2352 |
|
| 2353 |
# Radial labels (adjusted for perfect alignment)
|
| 2354 |
-
labels = ["
|
| 2355 |
angles = [135, 45, 225, 315] # TL, TR, BL, BR
|
| 2356 |
radius = 1.5
|
| 2357 |
|
|
@@ -2706,4 +2706,4 @@ try:
|
|
| 2706 |
demo.launch(server_name="0.0.0.0")
|
| 2707 |
except Exception as e:
|
| 2708 |
logger.error(f"Error launching Gradio app: {e}")
|
| 2709 |
-
raise e
|
|
|
|
| 2351 |
ax.text(0, 0, f"{score}", ha='center', va='center', fontsize=19, fontweight='bold')
|
| 2352 |
|
| 2353 |
# Radial labels (adjusted for perfect alignment)
|
| 2354 |
+
labels = ["9–10: High Trust", "0–4: Low Trust", "7–8: Trust", "5–6: Trust Neutral"]
|
| 2355 |
angles = [135, 45, 225, 315] # TL, TR, BL, BR
|
| 2356 |
radius = 1.5
|
| 2357 |
|
|
|
|
| 2706 |
demo.launch(server_name="0.0.0.0")
|
| 2707 |
except Exception as e:
|
| 2708 |
logger.error(f"Error launching Gradio app: {e}")
|
| 2709 |
+
raise e
|