radames commited on
Commit
ae0e338
1 Parent(s): 099b028

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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(