fix:webserver path

This commit is contained in:
aries_ckt
2023-07-02 14:20:10 +08:00
parent 4341067b08
commit f54b1cbdd4
2 changed files with 3 additions and 3 deletions

View File

@@ -11,11 +11,11 @@ import uuid
import gradio as gr
from pilot.embedding_engine.knowledge_type import KnowledgeType
ROOT_PATH = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
sys.path.append(ROOT_PATH)
from pilot.embedding_engine.knowledge_type import KnowledgeType
from pilot.summary.db_summary_client import DBSummaryClient
from pilot.scene.base_chat import BaseChat