Rudraaaa76 commited on
Commit
0623b68
·
verified ·
1 Parent(s): 187b79d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -190,7 +190,7 @@ def predict_behavior():
190
  harsh_braking_events = (df['JerkX'] < -3).sum() # Adjusted threshold from -5 to -3
191
 
192
  # Identify Harsh Cornering (Sharp change in GyroZ)
193
- harsh_cornering_events = (df['GyroZ'].diff().abs() > 1.5).sum() # Adjusted threshold from 30 to 1.5
194
 
195
  # Create sequences for model input
196
  sequences = []
 
190
  harsh_braking_events = (df['JerkX'] < -3).sum() # Adjusted threshold from -5 to -3
191
 
192
  # Identify Harsh Cornering (Sharp change in GyroZ)
193
+ harsh_cornering_events = (df['GyroZ'].diff().abs() > 1.8).sum() # Adjusted threshold from 30 to 1.5
194
 
195
  # Create sequences for model input
196
  sequences = []