Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -7,9 +7,9 @@ def request_to_v2(message, cookie, user_id, channel_id,context=[]):
|
|
7 |
context = [message]
|
8 |
headers = {
|
9 |
# ':Authority': 'claude.ai',
|
10 |
-
':Method': 'POST',
|
11 |
-
':Path': '/api/append_message',
|
12 |
-
':Scheme': 'https',
|
13 |
'Content-Type': 'application/json',
|
14 |
'Origin': 'https://claude.ai',
|
15 |
'Referer': f'https://claude.ai/chat/{channel_id}',
|
|
|
7 |
context = [message]
|
8 |
headers = {
|
9 |
# ':Authority': 'claude.ai',
|
10 |
+
# ':Method': 'POST',
|
11 |
+
# ':Path': '/api/append_message',
|
12 |
+
# ':Scheme': 'https',
|
13 |
'Content-Type': 'application/json',
|
14 |
'Origin': 'https://claude.ai',
|
15 |
'Referer': f'https://claude.ai/chat/{channel_id}',
|