Spaces:
Running
Running
vlff李飞飞
commited on
Commit
·
253f22f
1
Parent(s):
2ab9e99
use token
Browse files
qwen_server/assistant_server.py
CHANGED
@@ -69,6 +69,8 @@ def set_page_url(access_token):
|
|
69 |
|
70 |
|
71 |
def initialize(request: gr.Request):
|
|
|
|
|
72 |
access_token = request.session["access_token"] or request.query_params["access_token"]
|
73 |
set_page_url(access_token)
|
74 |
return access_token
|
|
|
69 |
|
70 |
|
71 |
def initialize(request: gr.Request):
|
72 |
+
print(request.session)
|
73 |
+
print(request.query_params)
|
74 |
access_token = request.session["access_token"] or request.query_params["access_token"]
|
75 |
set_page_url(access_token)
|
76 |
return access_token
|