Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -192,7 +192,7 @@ def classify(platform,UserInput, Image, Textbox2, Textbox3):
|
|
192 |
"Authorization": f"Bearer {auth2}"
|
193 |
}
|
194 |
if platform == "wh":
|
195 |
-
get_image = requests.get(
|
196 |
print(get_image.content)
|
197 |
elif platform == "web":
|
198 |
print("WEB")
|
|
|
192 |
"Authorization": f"Bearer {auth2}"
|
193 |
}
|
194 |
if platform == "wh":
|
195 |
+
get_image = requests.get(Image, headers=headers)
|
196 |
print(get_image.content)
|
197 |
elif platform == "web":
|
198 |
print("WEB")
|