Spaces:
Sleeping
Sleeping
round to int
Browse files
app.py
CHANGED
@@ -34,7 +34,7 @@ def predict_price(area, year, rooms, floor_number, distance_from_center, alarm_s
|
|
34 |
'details__Ypatybės__Virtuvė sujungta su kambariu': kitchen_plus_livingroom
|
35 |
}])
|
36 |
print(x)
|
37 |
-
return
|
38 |
|
39 |
|
40 |
iface = gr.Interface(fn=predict_price, inputs=[gr.inputs.Slider(10, 180, 1, 80),
|
|
|
34 |
'details__Ypatybės__Virtuvė sujungta su kambariu': kitchen_plus_livingroom
|
35 |
}])
|
36 |
print(x)
|
37 |
+
return int(xgb.predict(x))
|
38 |
|
39 |
|
40 |
iface = gr.Interface(fn=predict_price, inputs=[gr.inputs.Slider(10, 180, 1, 80),
|