astro21 commited on
Commit
b1b79e3
·
verified ·
1 Parent(s): ad8446f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -34,10 +34,8 @@ async def parse_resume(files: List[UploadFile] = File(...)):
34
  chat_llm_text = ChatOpenAI(model='gpt-3.5-turbo', temperature=0.0)
35
  chat_llm_json = ChatOpenAI(model='gpt-3.5-turbo', temperature=0.4)
36
 
37
- if not os.path.exists("temp"):
38
- os.makedirs("temp")
39
-
40
- file_path = f"temp/{uploaded_file.filename}"
41
 
42
  # Process the uploaded file asynchronously
43
  text = await process_file_with_dedoc(uploaded_file)
 
34
  chat_llm_text = ChatOpenAI(model='gpt-3.5-turbo', temperature=0.0)
35
  chat_llm_json = ChatOpenAI(model='gpt-3.5-turbo', temperature=0.4)
36
 
37
+ file_path = f"{uploaded_file.filename}"
38
+ print(file_path)
 
 
39
 
40
  # Process the uploaded file asynchronously
41
  text = await process_file_with_dedoc(uploaded_file)