Hrishikesh332 commited on
Commit
f092b3a
·
1 Parent(s): 6bd2ac0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -36,10 +36,10 @@ img = st.file_uploader("Choose an image", type=["jpg", "jpeg", "png"])
36
 
37
  if img is not None:
38
  try:
39
- image = Image.open(BytesIO(img.read()))
40
- output = query(image)
41
  st.write("Predicted Output:", Output)
42
  except:
43
- st.write("Pleas do upload the image in the correct format!")
44
 
45
 
 
36
 
37
  if img is not None:
38
  try:
39
+ # image = Image.open(BytesIO(img.read()))
40
+ output = query(img)
41
  st.write("Predicted Output:", Output)
42
  except:
43
+ st.write("Please do upload the image in the correct format!")
44
 
45