kertser commited on
Commit
17e09e4
1 Parent(s): 4acc1db

Upload WarServer.py

Browse files

Updated the WarServer

Files changed (1) hide show
  1. WarServer.py +4 -1
WarServer.py CHANGED
@@ -1,9 +1,12 @@
1
  import socket
2
  import WarBot
3
 
 
 
 
4
  model,tokenizer,model_punct = WarBot.initialize()
5
 
6
- HOST = 'localhost'
7
  PORT = 5000
8
 
9
  with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as server_socket:
 
1
  import socket
2
  import WarBot
3
 
4
+ import warnings
5
+ warnings.filterwarnings("ignore")
6
+
7
  model,tokenizer,model_punct = WarBot.initialize()
8
 
9
+ HOST = '10.0.0.125'
10
  PORT = 5000
11
 
12
  with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as server_socket: