Vaibhav84 commited on
Commit
07479a9
·
1 Parent(s): 6bbaa6c
Files changed (1) hide show
  1. app.py +2 -5
app.py CHANGED
@@ -70,13 +70,10 @@ def parse_csv(df):
70
  res = df.to_json(orient="records")
71
  parsed = json.loads(res)
72
  return parsed
73
-
74
-
75
- testdata : SkillData
76
- testdata.filename = 'abc.pdf'
77
 
78
  @app.post("/uploadJobDescription/")
79
- def uploadJobDescription(file: bytes = File(...), FileName: str = "sample.pdf",test: SkillData = testdata):
80
  # Save file locally for processing
81
  text =''
82
  print(text)
 
70
  res = df.to_json(orient="records")
71
  parsed = json.loads(res)
72
  return parsed
73
+
 
 
 
74
 
75
  @app.post("/uploadJobDescription/")
76
+ def uploadJobDescription(file: bytes = File(...), FileName: str = "sample.pdf",test: SkillData = SkillData):
77
  # Save file locally for processing
78
  text =''
79
  print(text)