Skip to content

Commit

Permalink
Remove: JSON
Browse files Browse the repository at this point in the history
  • Loading branch information
shivamgutgutia committed Sep 2, 2024
1 parent 050667a commit 5efa0ab
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ RUN pip3 install -r requirements.txt

COPY . /app/
EXPOSE 5000
CMD ["python","app.py"]
CMD ["gunicorn", "-b", "0.0.0.0:5000", "app:app"]

2 changes: 0 additions & 2 deletions utils/createDf.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ def createDf(requestFiles):
df = read_excel(file,dtype=str)
elif (file.filename.endswith(".ods")):
df = read_excel(file,engine="odf",dtype=str)
elif file.filename.endswith(".json"):
df = read_json(file, dtype=str)
else:
return False,"Please upload valid file format"

Expand Down

0 comments on commit 5efa0ab

Please sign in to comment.