|
@@ -408,8 +408,8 @@ class video_service(rpyc.Service):
|
|
|
anchor_video_v2(name_hash,name,text_content, image_urls,avatar,client_id)
|
|
|
|
|
|
|
|
|
-if __name__ == "__main__":
|
|
|
- from rpyc.utils.server import ThreadedServer
|
|
|
- t = ThreadedServer(video_service, port=18861)
|
|
|
- t.start()
|
|
|
- print('service started')
|
|
|
+
|
|
|
+from rpyc.utils.server import ThreadedServer
|
|
|
+t = ThreadedServer(video_service, port=18861)
|
|
|
+t.start()
|
|
|
+print('service started')
|