BlakeL commited on
Commit
7d2d9d6
·
verified ·
1 Parent(s): 9152f09

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -192,7 +192,7 @@ class SocialMediaAnalyzer:
192
 
193
  # Convert score to angle (0-180 degrees, where 0 is low addiction, 180 is high)
194
  # Map 1-10 score to 0-180 degrees
195
- angle = (predicted_score - 1) * 20 # 20 degrees per unit (180/9)
196
 
197
  # Create the gauge
198
  # Background circle (full range)
 
192
 
193
  # Convert score to angle (0-180 degrees, where 0 is low addiction, 180 is high)
194
  # Map 1-10 score to 0-180 degrees
195
+ angle = 180 - (predicted_score - 1) * 20 # 20 degrees per unit (180/9)
196
 
197
  # Create the gauge
198
  # Background circle (full range)