Skip to content

Commit 23c7ab9

Browse files
committed
update:去掉无关引用
1 parent 728a769 commit 23c7ab9

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

app/services/voiceprint_service.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
import numpy as np
22
import torch
33
import time
4-
import psutil
5-
import os
64
import threading
7-
from typing import Dict, List, Tuple, Optional
5+
from typing import Dict, List, Tuple
86
from modelscope.pipelines import pipeline
97
from modelscope.utils.constant import Tasks
108
from ..core.config import settings

requirements.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,4 @@ fastapi==0.110.2
1313
uvicorn==0.29.0
1414
PyMySQL==1.1.0
1515
python-multipart==0.0.9
16-
librosa==0.10.1
17-
psutil==5.9.8
16+
librosa==0.10.1

0 commit comments

Comments
 (0)