euler314 commited on
Commit
bb26972
·
verified ·
1 Parent(s): 742dc94

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -742,8 +742,7 @@ def categorize_typhoon_taiwan(wind_speed):
742
  return 'Tropical Depression'
743
 
744
  # Convert to m/s if in knots
745
- if wind_speed > 50: # Likely in knots, convert to m/s
746
- wind_speed = wind_speed * 0.514444
747
 
748
  if wind_speed >= 51.0:
749
  return 'Strong Typhoon'
 
742
  return 'Tropical Depression'
743
 
744
  # Convert to m/s if in knots
745
+ wind_speed = wind_speed * 0.514444
 
746
 
747
  if wind_speed >= 51.0:
748
  return 'Strong Typhoon'