tommy24 commited on
Commit
efb55bd
·
1 Parent(s): a44860b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -537,7 +537,8 @@ def classify(platform, UserInput, Images, Textbox2, Textbox3):
537
  image_data = get_image.content
538
  elif platform == "web":
539
  # print("WEB")
540
- image_data = requests.get(Images)
 
541
  else:
542
  pass
543
 
 
537
  image_data = get_image.content
538
  elif platform == "web":
539
  # print("WEB")
540
+ url = requests.get(Images)
541
+ image_data = url.content
542
  else:
543
  pass
544