tommy24 commited on
Commit
b9dc973
·
1 Parent(s): 741f12b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -359,6 +359,7 @@ def classify(platform, UserInput, Images, Textbox2, Textbox3):
359
  if platform == "wh":
360
  get_image = requests.get(Images, headers=headers)
361
  if get_image.status_code == 200:
 
362
  random_id = random.randint(1000, 9999)
363
  file_extension = ".png"
364
  filename = f"image_{random_id}{file_extension}"
 
359
  if platform == "wh":
360
  get_image = requests.get(Images, headers=headers)
361
  if get_image.status_code == 200:
362
+ print(get_image.content)
363
  random_id = random.randint(1000, 9999)
364
  file_extension = ".png"
365
  filename = f"image_{random_id}{file_extension}"