Selaa lähdekoodia

修改ai服务套餐,前3天调用aws rek

zhangdongming 1 vuosi sitten
vanhempi
commit
666aeaf0eb
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      Controller/AiController.py

+ 1 - 1
Controller/AiController.py

@@ -122,7 +122,7 @@ class AiView(View):
             if AiServiceQuery[0]['orders__payType'] == 10:  # AI首次体验前半个月调Rekognition
                 now_time = int(time.time())
                 add_time = AiServiceQuery[0]['addTime']
-                if (now_time - add_time) <= (3600 * 24 * 15):
+                if (now_time - add_time) <= (3600 * 24 * 3):
                     ai_server = 'rekognition'
 
             if ai_server == 'sageMaker':  # 自建模型sageMaker AI