Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -405,6 +405,7 @@ def classify(platform, UserInput, Images, Textbox2, Textbox3):
|
|
405 |
print("IMAGE messages after appending:", messages)
|
406 |
|
407 |
header = {
|
|
|
408 |
"Content-Type": "application/json",
|
409 |
"Authorization": "Bearer nv2-pk1k0F4DE1SSJWCHeONU_RESETv2_LhyEkPZucRgkXIGVDkb2"
|
410 |
}
|
|
|
405 |
print("IMAGE messages after appending:", messages)
|
406 |
|
407 |
header = {
|
408 |
+
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36",
|
409 |
"Content-Type": "application/json",
|
410 |
"Authorization": "Bearer nv2-pk1k0F4DE1SSJWCHeONU_RESETv2_LhyEkPZucRgkXIGVDkb2"
|
411 |
}
|