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