osbornep8 commited on
Commit
cc47c88
·
verified ·
1 Parent(s): 271e613

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -22,7 +22,7 @@ def show_output(button, _output):
22
  with st.spinner(text='Loading...'):
23
  out_array = np.asarray(_output)
24
  name = classify(out_array)
25
- url = search_images_ddg((f'{name} fifa world cup 2022'), max_images=1)
26
  img = download_url(url[0])
27
  im = Image.open(img)
28
  st.success(f'Congratulations! You Look Like: {name}!!')
 
22
  with st.spinner(text='Loading...'):
23
  out_array = np.asarray(_output)
24
  name = classify(out_array)
25
+ url = search_images_ddg((f'{name} soccer player'), max_images=1)
26
  img = download_url(url[0])
27
  im = Image.open(img)
28
  st.success(f'Congratulations! You Look Like: {name}!!')