nikshep01 commited on
Commit
49325f1
·
verified ·
1 Parent(s): 1a6fe72

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -8
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
- col1.image(image, use_column_width=True)
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: