Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -44,6 +44,7 @@ def predict_price(carat, shape, cut, color, clarity, report, type):
|
|
44 |
}
|
45 |
data_point = pd.DataFrame([sample])
|
46 |
prediction = price_predictor.predict(data_point).tolist()
|
|
|
47 |
return prediction[0]
|
48 |
|
49 |
demo = gr.Interface(fn=predict_price,
|
|
|
44 |
}
|
45 |
data_point = pd.DataFrame([sample])
|
46 |
prediction = price_predictor.predict(data_point).tolist()
|
47 |
+
print(prediction)
|
48 |
return prediction[0]
|
49 |
|
50 |
demo = gr.Interface(fn=predict_price,
|