jung-ming commited on
Commit
ae74a44
·
verified ·
1 Parent(s): 29a68fa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -63,7 +63,7 @@ if st.button("🔮 開始預測"):
63
  "航線組合數": [port_count],
64
  "年": [year],
65
  "月": [month],
66
- "船舶種類": [ship_type_encoded]
67
  })
68
  pred = model.predict(input_df)[0]
69
  st.success(f"預測結果:🚢 約為 {pred:.2f} 艘次")
 
63
  "航線組合數": [port_count],
64
  "年": [year],
65
  "月": [month],
66
+ "船舶種類_編碼": [ship_type_encoded]
67
  })
68
  pred = model.predict(input_df)[0]
69
  st.success(f"預測結果:🚢 約為 {pred:.2f} 艘次")