tommy24 commited on
Commit
99711c6
·
1 Parent(s): f66c4cd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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
  }