Spaces:
Sleeping
Sleeping
Update app.py
Browse filesadd gr.Interface
app.py
CHANGED
@@ -58,4 +58,7 @@ def housing_predict(longitude, latitude, housing_median_age, total_rooms, total_
|
|
58 |
print(f"res={res}")
|
59 |
return str(res[0])
|
60 |
|
|
|
|
|
|
|
61 |
|
|
|
58 |
print(f"res={res}")
|
59 |
return str(res[0])
|
60 |
|
61 |
+
gr.Interface(fn=housing_predict, inputs=[longitude, latitude, housing_median_age, total_rooms, total_bedrooms, population,
|
62 |
+
households, median_income], outputs=pred_house_price).launch(debug=True)
|
63 |
+
|
64 |
|