Spaces:
Running
Running
Update app.py
Browse files
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}"
|