He Bo commited on
Commit
07d5c4b
1 Parent(s): fcb7ecd
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -89,7 +89,6 @@ def get_answer(question,session_id,language,prompt,search_engine,index,top_k,sco
89
  # url += ('&embedding_endpoint_name=huggingface-inference-m3e-base')
90
  url += ('&embedding_endpoint_name=huggingface-inference-text2vec-base-chinese-v1')
91
  url += ('&llm_embedding_name=pytorch-inference-chatglm2-g5-4x')
92
- url += ('&prompt='+chinese_prompt)
93
 
94
  elif language == "chinese-tc":
95
  url += '&language=chinese-tc'
 
89
  # url += ('&embedding_endpoint_name=huggingface-inference-m3e-base')
90
  url += ('&embedding_endpoint_name=huggingface-inference-text2vec-base-chinese-v1')
91
  url += ('&llm_embedding_name=pytorch-inference-chatglm2-g5-4x')
 
92
 
93
  elif language == "chinese-tc":
94
  url += '&language=chinese-tc'