rsm-roguchi commited on
Commit
168af4d
·
1 Parent(s): 8b45fde
server/candidate_profile.py CHANGED
@@ -9,7 +9,7 @@ import html
9
  import markdown
10
 
11
 
12
- RESUME_DIR = "data/resumes/"
13
 
14
  def extract_text_from_pdf(filename):
15
  path = os.path.join(RESUME_DIR, filename) + '.pdf'
 
9
  import markdown
10
 
11
 
12
+ RESUME_DIR = "/tmp/data/resumes/"
13
 
14
  def extract_text_from_pdf(filename):
15
  path = os.path.join(RESUME_DIR, filename) + '.pdf'
server/interview_scheduler.py CHANGED
@@ -96,7 +96,7 @@ def server(input, output, session):
96
  raw_candidates = get_all_candidates()
97
  job_ids_used = {c.get("job_id") for c in raw_candidates.values() if "job_id" in c}
98
 
99
- path = "data/context.json"
100
  try:
101
  with open(path, "r") as f:
102
  full = json.load(f)
 
96
  raw_candidates = get_all_candidates()
97
  job_ids_used = {c.get("job_id") for c in raw_candidates.values() if "job_id" in c}
98
 
99
+ path = "/tmp/data/context.json"
100
  try:
101
  with open(path, "r") as f:
102
  full = json.load(f)