thomas-yanxin
commited on
Commit
•
3e92a87
1
Parent(s):
3f391e5
modified: app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,5 @@
|
|
1 |
import os
|
2 |
|
3 |
-
os.system('pip install git+https://github.com/facebookresearch/detectron2.git')
|
4 |
-
|
5 |
import gradio as gr
|
6 |
import nltk
|
7 |
import sentence_transformers
|
@@ -17,6 +15,9 @@ from langchain.vectorstores import FAISS
|
|
17 |
from chatllm import ChatLLM
|
18 |
from chinese_text_splitter import ChineseTextSplitter
|
19 |
|
|
|
|
|
|
|
20 |
nltk.data.path.append('./nltk_data')
|
21 |
|
22 |
embedding_model_dict = {
|
|
|
1 |
import os
|
2 |
|
|
|
|
|
3 |
import gradio as gr
|
4 |
import nltk
|
5 |
import sentence_transformers
|
|
|
15 |
from chatllm import ChatLLM
|
16 |
from chinese_text_splitter import ChineseTextSplitter
|
17 |
|
18 |
+
# os.system('pip install git+https://github.com/facebookresearch/detectron2.git')
|
19 |
+
|
20 |
+
|
21 |
nltk.data.path.append('./nltk_data')
|
22 |
|
23 |
embedding_model_dict = {
|