Arri98 commited on
Commit
228ee3f
·
1 Parent(s): a4a9c48

Advanced way of storing ip

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -52,6 +52,7 @@ def record_vote(prompt: str, left_chat: List, right_chat: List,
52
  "left_model": left_model, "right_model": right_model,
53
  "ip": request.client.host
54
  })
 
55
  changeVisible = False
56
  jsonResponse = response.json()
57
  _id = jsonResponse["id"]
 
52
  "left_model": left_model, "right_model": right_model,
53
  "ip": request.client.host
54
  })
55
+ print(request.client.host)
56
  changeVisible = False
57
  jsonResponse = response.json()
58
  _id = jsonResponse["id"]