Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
RMHalak
/
house-pricing-v1
like
0
Paused
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
6676090
house-pricing-v1
/
app.py
RMHalak
Update app.py
6676090
verified
7 months ago
raw
Copy download link
history
blame
Safe
222 Bytes
import
streamlit
as
st
import
pickle
with
open
(
'./trained_model.pkl'
,
'rb'
)
as
file:
loaded_model = pickle.load(file)
input
= st.text_area(
'Enter text'
)
if
text:
out = loaded_model(
input
)
st.json(out[
0
][
0
])