Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ def predict(text, request: gr.Request):
|
|
8 |
headers = request.headers
|
9 |
real_client_ip = ""
|
10 |
print(headers)
|
11 |
-
print(dict(headers))
|
12 |
# if headers and 'x-forwarded-for' in headers:
|
13 |
# x_forwarded_for = headers['x-forwarded-for']
|
14 |
# real_client_ip = x_forwarded_for.split(
|
|
|
8 |
headers = request.headers
|
9 |
real_client_ip = ""
|
10 |
print(headers)
|
11 |
+
# print(dict(headers))
|
12 |
# if headers and 'x-forwarded-for' in headers:
|
13 |
# x_forwarded_for = headers['x-forwarded-for']
|
14 |
# real_client_ip = x_forwarded_for.split(
|