Icarus011 commited on
Commit
b066386
·
verified ·
1 Parent(s): e46acc6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -65,7 +65,7 @@ st.sidebar.button('Clear Chat History', on_click=clear_chat_history)
65
  # Function for generating LLaMA2 response
66
  def generate_llama_index_response(prompt_input):
67
  full_prompt = f"作为医疗知识问答助手,我将根据我的知识库回答你的问题:{prompt_input}"
68
- return greet2(full_prompt)
69
 
70
  # User-provided prompt
71
  if prompt := st.chat_input():
 
65
  # Function for generating LLaMA2 response
66
  def generate_llama_index_response(prompt_input):
67
  full_prompt = f"作为医疗知识问答助手,我将根据我的知识库回答你的问题:{prompt_input}"
68
+ return greet2(full_prompt).response
69
 
70
  # User-provided prompt
71
  if prompt := st.chat_input():