Grady McPeak commited on
Commit
7698aad
·
1 Parent(s): 683821c

Remove secret loading of system prompt

Browse files
Files changed (1) hide show
  1. test_launch.py +0 -4
test_launch.py CHANGED
@@ -5,13 +5,9 @@ import os
5
  # to the Space's Secrets. Use same name as env vars here
6
 
7
  token_path = './secrets/openai_token.txt'
8
- prompt_path = './secrets/system_prompt.txt'
9
 
10
  with open(token_path, 'r') as f:
11
  os.environ['OPENAI_TOKEN'] = f.read()
12
 
13
- with open(prompt_path, 'r') as f:
14
- os.environ['SYSTEM_PROMPT'] = f.read()
15
-
16
  import app # import after setting env var so app sees latest version
17
  app.main()
 
5
  # to the Space's Secrets. Use same name as env vars here
6
 
7
  token_path = './secrets/openai_token.txt'
 
8
 
9
  with open(token_path, 'r') as f:
10
  os.environ['OPENAI_TOKEN'] = f.read()
11
 
 
 
 
12
  import app # import after setting env var so app sees latest version
13
  app.main()