kai1217 commited on
Commit
a8c29c0
1 Parent(s): 121a594

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -15
app.py CHANGED
@@ -36,18 +36,4 @@ else:
36
  predict(pil_img)
37
 
38
  except:
39
- st.text("Problem reading image from", url)
40
-
41
- from streamlit_image_select import image_select
42
-
43
- img = image_select(
44
- label="Select a cat",
45
- images=[
46
- "images/cat1.jpeg",
47
- "https://bagongkia.github.io/react-image-picker/0759b6e526e3c6d72569894e58329d89.jpg",
48
- Image.open("images/cat3.jpeg"),
49
- np.array(Image.open("images/cat4.jpeg")),
50
- ],
51
- captions=["A cat", "Another cat", "Oh look, a cat!", "Guess what, a cat..."],
52
- )
53
-
 
36
  predict(pil_img)
37
 
38
  except:
39
+ st.text("Problem reading image from", url)