Spaces:
Runtime error
Runtime error
Commit ·
480628c
1
Parent(s): 930a84a
Update app.py
Browse files
app.py
CHANGED
|
@@ -18,7 +18,7 @@ categories = ('Dog Destroying Stuff','Neutral')
|
|
| 18 |
upload= st.file_uploader('Insert image for classification', type=['png','jpg'])
|
| 19 |
c1, c2= st.columns(2)
|
| 20 |
if upload is not None:
|
| 21 |
-
im= Image.open(upload)
|
| 22 |
c1.header('Input Image')
|
| 23 |
c1.image(im)
|
| 24 |
pred, idx, probs = learn.predict(im)
|
|
|
|
| 18 |
upload= st.file_uploader('Insert image for classification', type=['png','jpg'])
|
| 19 |
c1, c2= st.columns(2)
|
| 20 |
if upload is not None:
|
| 21 |
+
im= Image.open(upload)
|
| 22 |
c1.header('Input Image')
|
| 23 |
c1.image(im)
|
| 24 |
pred, idx, probs = learn.predict(im)
|