cahnges
Browse files
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 =
|
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)
|