Spaces:
Running
Running
ryanrwatkins
commited on
Commit
•
3e73f6a
1
Parent(s):
3a14769
Update app.py
Browse files
app.py
CHANGED
@@ -31,18 +31,14 @@ openai.api_key = os.environ['openai_key']
|
|
31 |
os.environ["OPENAI_API_KEY"] = os.environ['openai_key']
|
32 |
|
33 |
|
34 |
-
|
35 |
-
|
36 |
|
37 |
#repo_url = create_repo(repo_id="prompts_archive")
|
38 |
#prompts_archive_url = "https://huggingface.co/datasets/ryanrwatkins/prompts_archive"
|
39 |
#prompts_archive_file_name = "prompts_archive.csv"
|
40 |
#prompts_archive_file = os.path.join("prompts_archive", prompts_archive_file_name)
|
41 |
#print(prompts_archive_file)
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
#HF_TOKEN = os.environ.get("HF_token_write")
|
47 |
#repo = Repository(
|
48 |
# local_dir="prompts_archive", clone_from=repo_url, use_auth_token=HF_TOKEN, git_user="ryanrwatkins", git_email="rwatkins@gwu.edu"
|
|
|
31 |
os.environ["OPENAI_API_KEY"] = os.environ['openai_key']
|
32 |
|
33 |
|
34 |
+
prompt_templates = {"All Needs Experts": "Respond as if you are combination of all needs assessment experts."}
|
35 |
+
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."}
|
36 |
|
37 |
#repo_url = create_repo(repo_id="prompts_archive")
|
38 |
#prompts_archive_url = "https://huggingface.co/datasets/ryanrwatkins/prompts_archive"
|
39 |
#prompts_archive_file_name = "prompts_archive.csv"
|
40 |
#prompts_archive_file = os.path.join("prompts_archive", prompts_archive_file_name)
|
41 |
#print(prompts_archive_file)
|
|
|
|
|
|
|
|
|
42 |
#HF_TOKEN = os.environ.get("HF_token_write")
|
43 |
#repo = Repository(
|
44 |
# local_dir="prompts_archive", clone_from=repo_url, use_auth_token=HF_TOKEN, git_user="ryanrwatkins", git_email="rwatkins@gwu.edu"
|