Abrar20 commited on
Commit
7b651e2
·
verified ·
1 Parent(s): dac6d41

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -48,7 +48,7 @@ def predict_intensity(img: Image.Image):
48
  with torch.no_grad():
49
  intensity = model(tensor).item()
50
  category = classify_cyclone(intensity)
51
- return f"{intensity:.2f} mph", category
52
 
53
  # ------------------------ Gradio UI ------------------------
54
  with gr.Blocks() as demo:
 
48
  with torch.no_grad():
49
  intensity = model(tensor).item()
50
  category = classify_cyclone(intensity)
51
+ return f"{intensity:.2f} Knots", category
52
 
53
  # ------------------------ Gradio UI ------------------------
54
  with gr.Blocks() as demo: