He Bo commited on
Commit
03bcdd4
1 Parent(s): e2143b5
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -85,8 +85,8 @@ def get_answer(question,session_id,language,prompt,index,top_k,temperature):
85
  elif language == "chinese":
86
  url += '&language=chinese'
87
  url += ('&embedding_endpoint_name=huggingface-inference-text2vec-base-chinese-v1')
88
- # url += ('&llm_embedding_name=pytorch-inference-chatglm-v1')
89
- url += ('&llm_embedding_name=pytorch-inference-chatglm2-g5-8x')
90
 
91
 
92
  # if llm_instance == 'p3-8x':
 
85
  elif language == "chinese":
86
  url += '&language=chinese'
87
  url += ('&embedding_endpoint_name=huggingface-inference-text2vec-base-chinese-v1')
88
+ url += ('&llm_embedding_name=pytorch-inference-chatglm-v1')
89
+ # url += ('&llm_embedding_name=pytorch-inference-chatglm2-g5-8x')
90
 
91
 
92
  # if llm_instance == 'p3-8x':