Showing
2 changed files
with
4 additions
and
4 deletions
| ... | @@ -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 | ... | ... |
-
Please register or login to post a comment