mirror of
https://github.com/RYDE-WORK/Langchain-Chatchat.git
synced 2026-02-07 15:38:27 +08:00
make api.py import model_config coreectlly
This commit is contained in:
parent
8b1cf7effd
commit
829ced398b
@ -1,4 +1,7 @@
|
|||||||
import nltk
|
import nltk
|
||||||
|
import sys
|
||||||
|
import os
|
||||||
|
sys.path.append(os.path.dirname(os.path.dirname(__file__)))
|
||||||
from configs.model_config import NLTK_DATA_PATH, OPEN_CROSS_DOMAIN
|
from configs.model_config import NLTK_DATA_PATH, OPEN_CROSS_DOMAIN
|
||||||
import argparse
|
import argparse
|
||||||
import uvicorn
|
import uvicorn
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user