Update app.py
Browse files
app.py
CHANGED
@@ -126,8 +126,7 @@ def onLoad(token_text, request: gr.Request):
|
|
126 |
left_n = max(0, LimitTask-total_n)
|
127 |
his_datas.append(msg)
|
128 |
his_datas.append(f"Submit ({left_n} attempts left)")
|
129 |
-
|
130 |
-
print("Query parameters:", dict(request.query_params))
|
131 |
url_params = dict(request.query_params)
|
132 |
if 'token' in url_params:
|
133 |
token_text = url_params['token']
|
|
|
126 |
left_n = max(0, LimitTask-total_n)
|
127 |
his_datas.append(msg)
|
128 |
his_datas.append(f"Submit ({left_n} attempts left)")
|
129 |
+
|
|
|
130 |
url_params = dict(request.query_params)
|
131 |
if 'token' in url_params:
|
132 |
token_text = url_params['token']
|