Skip to content

Commit

Permalink
modified app.py
Browse files Browse the repository at this point in the history
  • Loading branch information
SayamAlt committed Oct 26, 2023
1 parent 8d8ebd9 commit 5da156d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def predict():
meter_rate = float(request.form['meter_rate'])
trip_duration = float(request.form['trip_duration'])
miscellaneous_fees = float(request.form['miscellaneous_fees'])
tip = float(request.form['tip'])
tip = int(request.form['tip'])
base_fare = float(request.form['base_fare'])
data = pd.DataFrame([[meter_rate,trip_duration,miscellaneous_fees,tip,base_fare]],columns=['meter_rate','trip_duration','miscellaneous_fees','tip','base_fare'])
pred = pipeline.predict(data)
Expand Down

0 comments on commit 5da156d

Please sign in to comment.