Pārlūkot izejas kodu

set up test env

ming 3 gadi atpakaļ
vecāks
revīzija
79546a6fa9
2 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 1 1
      OpenshotService/openshot_video_generator.py
  2. 1 1
      api/main.py

+ 1 - 1
OpenshotService/openshot_video_generator.py

@@ -416,7 +416,7 @@ class video_service(rpyc.Service):
 
 
 from rpyc.utils.server import ThreadedServer
-t = ThreadedServer(video_service, port=8887)
+t = ThreadedServer(video_service, port=8889)
 print('service started')
 t.start()
 

+ 1 - 1
api/main.py

@@ -132,7 +132,7 @@ def get_url_type(url):
     return contentType
     
 def gen_video(name_hash,name,text_content, image_urls,avatar,client_id):
-    c = rpyc.connect("localhost", 8887)
+    c = rpyc.connect("localhost", 8889)
     remote_svc = c.root
     my_answer = remote_svc.call_video(name_hash,name,text_content, image_urls,avatar,client_id) # method call
     while True: