Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -22,17 +22,10 @@ file_name = st.file_uploader("Upload the test image to find is this hot dog ! ")
|
|
22 |
if file_name is not None:
|
23 |
|
24 |
col1, col2 = st.columns(2)
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
image = Image.open(file_name)
|
29 |
|
30 |
-
|
31 |
-
|
32 |
predictions = pipeline(image)
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
col2.header("Probabilities")
|
37 |
|
38 |
for p in predictions:
|
|
|
22 |
if file_name is not None:
|
23 |
|
24 |
col1, col2 = st.columns(2)
|
|
|
|
|
|
|
25 |
image = Image.open(file_name)
|
26 |
|
27 |
+
col1.image(image, use_column_width=True)
|
|
|
28 |
predictions = pipeline(image)
|
|
|
|
|
|
|
29 |
col2.header("Probabilities")
|
30 |
|
31 |
for p in predictions:
|