Spaces:
Build error
Build error
LethallyHealthy
commited on
Commit
·
44ae606
1
Parent(s):
55c0b43
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
#import the necessary dependencies
|
2 |
import streamlit as st
|
3 |
from transformers import pipeline
|
|
|
4 |
|
5 |
#INTERFACE
|
6 |
|
@@ -35,7 +36,7 @@ data["OpenPorchSF"] = st.number_input("Open Porch Square Footage:", value=0, min
|
|
35 |
data["MoSold"] = st.slider("Month Sold:", 1,12)
|
36 |
|
37 |
if st.button("Calculate"):
|
38 |
-
results = make_a_prediction(
|
39 |
print(results)
|
40 |
|
41 |
|
|
|
1 |
#import the necessary dependencies
|
2 |
import streamlit as st
|
3 |
from transformers import pipeline
|
4 |
+
import predictor
|
5 |
|
6 |
#INTERFACE
|
7 |
|
|
|
36 |
data["MoSold"] = st.slider("Month Sold:", 1,12)
|
37 |
|
38 |
if st.button("Calculate"):
|
39 |
+
results = predictor.make_a_prediction(data)
|
40 |
print(results)
|
41 |
|
42 |
|