mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
Move some functions out of 'api/utils/common.py' (#10948)
### What problem does this PR solve? as title. ### Type of change - [x] Refactoring Signed-off-by: Jin Hai <haijin.chn@gmail.com>
This commit is contained in:
@ -22,7 +22,7 @@ import os
|
||||
from huggingface_hub import snapshot_download
|
||||
|
||||
from common.file_utils import get_project_base_directory
|
||||
from api.utils.common import pip_install_torch
|
||||
from common.misc_utils import pip_install_torch
|
||||
from rag.settings import PARALLEL_DEVICES
|
||||
from .operators import * # noqa: F403
|
||||
from . import operators
|
||||
|
||||
Reference in New Issue
Block a user