Spaces:
Running
Running
ryanrwatkins
commited on
Commit
•
dc3bbfd
1
Parent(s):
131a904
Update app.py
Browse files
app.py
CHANGED
@@ -45,7 +45,7 @@ def get_empty_state():
|
|
45 |
|
46 |
#Initial prompt template, others added below from TXT file
|
47 |
prompt_templates = {"All Needs Experts": "Respond as if you are combiation of all needs assessment experts."}
|
48 |
-
actor_description = {}
|
49 |
|
50 |
def download_prompt_templates():
|
51 |
url = "https://huggingface.co/spaces/ryanrwatkins/needs/raw/main/gurus.txt"
|
@@ -57,9 +57,9 @@ def download_prompt_templates():
|
|
57 |
if len(row) >= 2:
|
58 |
act = row[0].strip('"')
|
59 |
prompt = row[1].strip('"')
|
60 |
-
description = row[2].strip('"')
|
61 |
prompt_templates[act] = prompt
|
62 |
-
actor_description[act] = description
|
63 |
|
64 |
|
65 |
|
|
|
45 |
|
46 |
#Initial prompt template, others added below from TXT file
|
47 |
prompt_templates = {"All Needs Experts": "Respond as if you are combiation of all needs assessment experts."}
|
48 |
+
#actor_description = {}
|
49 |
|
50 |
def download_prompt_templates():
|
51 |
url = "https://huggingface.co/spaces/ryanrwatkins/needs/raw/main/gurus.txt"
|
|
|
57 |
if len(row) >= 2:
|
58 |
act = row[0].strip('"')
|
59 |
prompt = row[1].strip('"')
|
60 |
+
#description = row[2].strip('"')
|
61 |
prompt_templates[act] = prompt
|
62 |
+
#actor_description[act] = description
|
63 |
|
64 |
|
65 |
|