Spaces:
Runtime error
Runtime error
Laks Srini
commited on
Commit
•
b787d29
1
Parent(s):
26ee6ef
Update to be classifier
Browse files
app.ipynb
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
app.py
CHANGED
@@ -13,7 +13,7 @@ import gradio as gr
|
|
13 |
learn = load_learner("model.pkl")
|
14 |
|
15 |
# %% app.ipynb 5
|
16 |
-
categories =
|
17 |
|
18 |
def classify_img(img):
|
19 |
pred,idx,probs = learn.predict(img)
|
|
|
13 |
learn = load_learner("model.pkl")
|
14 |
|
15 |
# %% app.ipynb 5
|
16 |
+
categories = ['Bathroom', 'Bedroom', 'Floor plan', 'Front', 'Kitchen', 'Living room', 'Parking', 'Porch', 'Swimming pool', 'Views', 'Yard']
|
17 |
|
18 |
def classify_img(img):
|
19 |
pred,idx,probs = learn.predict(img)
|
model.pkl
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b3fdff1c13aeac79a260ff457afa208699fcb823ca30aa039b5d03f513ba03cb
|
3 |
+
size 791545705
|