Browse Source

Merge branch 'master' of http://101.43.129.26:10880/AI/VehicleClassification

plg 4 months ago
parent
commit
d751d94943
2 changed files with 1 additions and 1 deletions
  1. BIN
      AIT/VehicleClassification.exe
  2. 1 1
      AIT/common/utils.go

BIN
AIT/VehicleClassification.exe


+ 1 - 1
AIT/common/utils.go

@@ -22,7 +22,7 @@ func GenerateUUID() string {
 // CheckFile 检查文件扩展名
 func CheckFile(fileName string) string {
 
-	fileNames := []string{"json", "txt", "wav", "npy", "xlsx", "xls"}
+	fileNames := []string{"json", "txt", "wav", "npy", "xlsx", "xls", "sql"}
 	for _, temp := range fileNames {
 		if strings.HasSuffix(strings.ToLower(fileName), temp) {
 			return temp