Parthebhan commited on
Commit
e9b00aa
·
verified ·
1 Parent(s): c5b9af9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -21,11 +21,11 @@ def automatidata(VendorID, passenger_count, Distance, Duration, rush_hour):
21
  # Create the Gradio interface
22
  automatidata_ga = gr.Interface(fn=automatidata,
23
  inputs=[
24
- gr.Number(1, 2, label="VendorID - [1, 2]"),
25
- gr.Number(0, 6, label="Passenger Count"),
26
  gr.Number(label="Distance"),
27
  gr.Number(label="Duration"),
28
- gr.Number(0, 1, label="Rush Hour")
29
  ],
30
  outputs="text", title="Taxi Fares Estimator",
31
  description="Predicting Taxi Fare Amount Using Machine Learning.",
 
21
  # Create the Gradio interface
22
  automatidata_ga = gr.Interface(fn=automatidata,
23
  inputs=[
24
+ gr.Number(1, 2, label="VendorID - [1 or 2]"),
25
+ gr.Number(0, 6, label="Passenger Count - [1 to 6]"),
26
  gr.Number(label="Distance"),
27
  gr.Number(label="Duration"),
28
+ gr.Number(0, 1, label="Rush Hour - [0 or 1]")
29
  ],
30
  outputs="text", title="Taxi Fares Estimator",
31
  description="Predicting Taxi Fare Amount Using Machine Learning.",