Spaces:
Runtime error
Runtime error
Update nuextract_logging.py
Browse files- nuextract_logging.py +1 -0
nuextract_logging.py
CHANGED
|
@@ -17,6 +17,7 @@ def log_event(input_text, template, prediction):
|
|
| 17 |
# Create a TCP connection and wrap it with SSL
|
| 18 |
sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
|
| 19 |
ssl_sock = ssl.wrap_socket(sock)
|
|
|
|
| 20 |
|
| 21 |
try:
|
| 22 |
# Connect to the server
|
|
|
|
| 17 |
# Create a TCP connection and wrap it with SSL
|
| 18 |
sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
|
| 19 |
ssl_sock = ssl.wrap_socket(sock)
|
| 20 |
+
print(server, port)
|
| 21 |
|
| 22 |
try:
|
| 23 |
# Connect to the server
|