Graduate

Modify client.py

...@@ -30,7 +30,7 @@ mtcnn = MTCNN(keep_all=True, post_process=True, device=device) ...@@ -30,7 +30,7 @@ mtcnn = MTCNN(keep_all=True, post_process=True, device=device)
30 30
31 uri = 'ws://169.56.95.131:8765' 31 uri = 'ws://169.56.95.131:8765'
32 32
33 -class Register(tk.Frame): 33 +class Client(tk.Frame):
34 def __init__(self, parent, *args, **kwargs): 34 def __init__(self, parent, *args, **kwargs):
35 tk.Frame.__init__(self, parent, *args, **kwargs) 35 tk.Frame.__init__(self, parent, *args, **kwargs)
36 36
...@@ -161,6 +161,6 @@ class Register(tk.Frame): ...@@ -161,6 +161,6 @@ class Register(tk.Frame):
161 161
162 if __name__ == '__main__': 162 if __name__ == '__main__':
163 root = tk.Tk() 163 root = tk.Tk()
164 - Register(root) 164 + Client(root)
165 root.mainloop() 165 root.mainloop()
166 166
...\ No newline at end of file ...\ No newline at end of file
......
1 module.exports = (function (){ 1 module.exports = (function (){
2 return { 2 return {
3 local: { 3 local: {
4 - host: '169.56.95.131', 4 + host: 'localhost',
5 user: 'root', 5 user: 'root',
6 password: '1234', 6 password: '1234',
7 database: 'attendance' 7 database: 'attendance'
......