Spaces:
Running
Running
update
Browse files
util.py
CHANGED
@@ -118,6 +118,7 @@ def on_load(request: gr.Request):
|
|
118 |
tokenizer_type_2 = None
|
119 |
query_params = {}
|
120 |
if request:
|
|
|
121 |
client_ip = request.client.host
|
122 |
# local_ip = socket.gethostbyname(socket.gethostbyname(""))
|
123 |
# headers = request.kwargs['headers']
|
|
|
118 |
tokenizer_type_2 = None
|
119 |
query_params = {}
|
120 |
if request:
|
121 |
+
logger.info(str(request.headers))
|
122 |
client_ip = request.client.host
|
123 |
# local_ip = socket.gethostbyname(socket.gethostbyname(""))
|
124 |
# headers = request.kwargs['headers']
|