Browse Source

some tests

罗俊辉 11 months ago
parent
commit
35600c7ff2
3 changed files with 4 additions and 4 deletions
  1. 1 1
      applications/migrate.py
  2. 1 1
      applications/pipeline.py
  3. 2 2
      test/videos_dev.py

+ 1 - 1
applications/migrate.py

@@ -26,7 +26,7 @@ def migrate_daily(dt):
     print("{} successfully insert {} rows, totally cost {} seconds".format(dt, len(data), b - a))
 
 
-dt_list = generate_daily_strings("20240627", "20240628")
+dt_list = generate_daily_strings("20240628", "20240701")
 for dt in dt_list:
     print(dt)
     migrate_daily(dt)

+ 1 - 1
applications/pipeline.py

@@ -4,7 +4,7 @@ prompt pipeline
 """
 import json
 
-from applications.ai import kimi_ai, tly_ai, tencent_ai
+from applications.ai import kimi_ai, tly_ai
 
 
 # 第一步先把问题裂变

+ 2 - 2
test/videos_dev.py

@@ -9,8 +9,8 @@ import requests
 cate: video_return, video_view, video_rov
 """
 
-# url = "http://47.99.132.47:8888/videos"
-url = "http://localhost:8888/videos"
+url = "http://47.99.132.47:8888/videos"
+# url = "http://localhost:8888/videos"
 
 body = {
     "cate": "video_return",