Skip to content

Commit

Permalink
procfile upload
Browse files Browse the repository at this point in the history
  • Loading branch information
mbaldi-sage committed Jun 27, 2023
1 parent 171296b commit cf07b78
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Procfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
rubyCopy codeweb: gunicorn app.py:app
1 change: 1 addition & 0 deletions cv_anonymisation/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ def home():
f.write(anonymize(filepath))

return send_from_directory(app.config["DOWNLOAD_FOLDER"], ofilename, as_attachment=True)
return 'This is not a POST request'

if __name__ == "__main__":
app.run()

0 comments on commit cf07b78

Please sign in to comment.