He Bo
commited on
Commit
•
0c40597
1
Parent(s):
7fa502d
updata
Browse files
app.py
CHANGED
@@ -81,7 +81,7 @@ def get_answer(question,session_id,language,prompt,index,top_k,temperature):
|
|
81 |
if language == "english":
|
82 |
url += '&language=english'
|
83 |
url += ('&embedding_endpoint_name=pytorch-inference-all-minilm-l6-v2')
|
84 |
-
url += ('&llm_embedding_name=pytorch-inference-vicuna-
|
85 |
elif language == "chinese-glm":
|
86 |
url += '&language=chinese'
|
87 |
url += ('&embedding_endpoint_name=huggingface-inference-text2vec-base-chinese-v1')
|
|
|
81 |
if language == "english":
|
82 |
url += '&language=english'
|
83 |
url += ('&embedding_endpoint_name=pytorch-inference-all-minilm-l6-v2')
|
84 |
+
url += ('&llm_embedding_name=pytorch-inference-vicuna-g5-2x')
|
85 |
elif language == "chinese-glm":
|
86 |
url += '&language=chinese'
|
87 |
url += ('&embedding_endpoint_name=huggingface-inference-text2vec-base-chinese-v1')
|