Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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} 艘次")
|