Wajahat698 commited on
Commit
851fb06
·
verified ·
1 Parent(s): d48cfce

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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 = ["04: Low Trust", "56: Neutral", "7–8: Trust", "910: High Trust"]
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 = ["910: High Trust", "04: Low Trust", "7–8: Trust", "56: 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