Spaces:
Running
Running
ryanrwatkins
commited on
Commit
•
8298332
1
Parent(s):
9d6edfb
Update app.py
Browse files
app.py
CHANGED
@@ -90,7 +90,7 @@ current_dir = os.getcwd()
|
|
90 |
|
91 |
prompt_templates = {"All Needs Experts": "Respond as if you are combination of all needs assessment experts."}
|
92 |
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."}
|
93 |
-
prompt_template_name =
|
94 |
|
95 |
|
96 |
def get_empty_state():
|
@@ -827,7 +827,7 @@ def submit_message(prompt, prompt_template, temperature, max_tokens, context_len
|
|
827 |
# return gr.update(value=''), [(history[i]['content'], history[i+1]['content']) for i in range(0, len(history)-1, 2)], state
|
828 |
|
829 |
#prompt_template = prompt_templates[prompt_template]
|
830 |
-
prompt_template_name = prompt_template
|
831 |
print(prompt_template)
|
832 |
print(prompt_templates[prompt_template])
|
833 |
|
|
|
90 |
|
91 |
prompt_templates = {"All Needs Experts": "Respond as if you are combination of all needs assessment experts."}
|
92 |
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."}
|
93 |
+
prompt_template_name = []
|
94 |
|
95 |
|
96 |
def get_empty_state():
|
|
|
827 |
# return gr.update(value=''), [(history[i]['content'], history[i+1]['content']) for i in range(0, len(history)-1, 2)], state
|
828 |
|
829 |
#prompt_template = prompt_templates[prompt_template]
|
830 |
+
prompt_template_name = [prompt_template]
|
831 |
print(prompt_template)
|
832 |
print(prompt_templates[prompt_template])
|
833 |
|