Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -758,7 +758,6 @@ def classify(platform, UserInput, Images, Textbox2, Textbox3):
|
|
758 |
# print("WEB")
|
759 |
url = requests.get(Images)
|
760 |
image_data = url.content
|
761 |
-
print(image_data)
|
762 |
else:
|
763 |
pass
|
764 |
|
@@ -838,6 +837,7 @@ def classify(platform, UserInput, Images, Textbox2, Textbox3):
|
|
838 |
|
839 |
if "vision" in UserInput.lower():
|
840 |
vision()
|
|
|
841 |
|
842 |
image = cv.imdecode(np.frombuffer(image_data, np.uint8), cv.IMREAD_COLOR)
|
843 |
image = cv.resize(image, (224, 224))
|
|
|
758 |
# print("WEB")
|
759 |
url = requests.get(Images)
|
760 |
image_data = url.content
|
|
|
761 |
else:
|
762 |
pass
|
763 |
|
|
|
837 |
|
838 |
if "vision" in UserInput.lower():
|
839 |
vision()
|
840 |
+
return "yesssss"
|
841 |
|
842 |
image = cv.imdecode(np.frombuffer(image_data, np.uint8), cv.IMREAD_COLOR)
|
843 |
image = cv.resize(image, (224, 224))
|