yiw commited on
Commit
5425b97
·
1 Parent(s): 2785bbf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -8,9 +8,9 @@ def get_img_from_url(url):
8
  return Image.open(requests.get(url, stream=True).raw)
9
 
10
  def main():
11
- st.title("Yelp review")
12
 
13
- with st.form("text_field"):
14
 
15
  url = st.text_input("URL to some image", "https://images.livemint.com/img/2022/08/01/600x338/Cat-andriyko-podilnyk-RCfi7vgJjUY-unsplash_1659328989095_1659328998370_1659328998370.jpg")
16
  img = get_img_from_url(url)
 
8
  return Image.open(requests.get(url, stream=True).raw)
9
 
10
  def main():
11
+ st.title("image-classification")
12
 
13
+ with st.form("image"):
14
 
15
  url = st.text_input("URL to some image", "https://images.livemint.com/img/2022/08/01/600x338/Cat-andriyko-podilnyk-RCfi7vgJjUY-unsplash_1659328989095_1659328998370_1659328998370.jpg")
16
  img = get_img_from_url(url)