Spaces:
Runtime error
Runtime error
Commit
·
ba2dbb6
1
Parent(s):
8e847a8
Update gpt4.py
Browse files
gpt4.py
CHANGED
@@ -31,7 +31,9 @@ class Completion:
|
|
31 |
"sec-fetch-mode": "cors",
|
32 |
"sec-fetch-site": "same-origin",
|
33 |
"cookie": f"safesearch_guest=Off; uuid_guest={str(uuid4())}",
|
34 |
-
|
|
|
|
|
35 |
}
|
36 |
|
37 |
# Add print statements to display headers and user agent
|
|
|
31 |
"sec-fetch-mode": "cors",
|
32 |
"sec-fetch-site": "same-origin",
|
33 |
"cookie": f"safesearch_guest=Off; uuid_guest={str(uuid4())}",
|
34 |
+
|
35 |
+
"user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36
|
36 |
+
",
|
37 |
}
|
38 |
|
39 |
# Add print statements to display headers and user agent
|