ryanrwatkins commited on
Commit
bbf919d
1 Parent(s): 78baff8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -88,7 +88,7 @@ current_dir = os.getcwd()
88
 
89
 
90
  prompt_templates = {"All Needs Experts": "Respond as if you are combination of all needs assessment experts."}
91
- actor_description = {"All Needs Experts": "<div style='float: left;margin: 0px 5px 0px 5px;'><img src='https://na.weshareresearch.com/wp-content/uploads/2023/04/experts2.jpg' alt='needs expert image' style='width:70px;align:top;'></div>A combiation of all needs assessment experts."}
92
 
93
  def get_empty_state():
94
  return { "messages": []}
@@ -804,6 +804,9 @@ def submit_message(prompt, prompt_template, temperature, max_tokens, context_len
804
 
805
  prompt_template = prompt_templates[prompt_template]
806
 
 
 
 
807
  completion = chain.invoke({"question":prompt})
808
  print("completion")
809
  print(completion)
 
88
 
89
 
90
  prompt_templates = {"All Needs Experts": "Respond as if you are combination of all needs assessment experts."}
91
+ actor_description = {"All Needs Experts": "<div style='float: left;margin: 0px 5px 0px 5px;'><img src='https://na.weshareresearch.com/wp-content/uploads/2023/04/experts2.jpg' alt='needs expert image' style='width:70px;align:top;'></div>A combination of all needs assessment experts."}
92
 
93
  def get_empty_state():
94
  return { "messages": []}
 
804
 
805
  prompt_template = prompt_templates[prompt_template]
806
 
807
+ print(prompt_template)
808
+
809
+
810
  completion = chain.invoke({"question":prompt})
811
  print("completion")
812
  print(completion)