Need to upload python flask api to heroku
There is a script on python api on flask. It needs to be uploaded to heroku and configured to work. I ran the script on my local pc and everything works. I need you to show me how I can later make changes to the script so that they apply on the server, through GitHub or something. Here are the dependencies that are used:
blinker==1.9.0
click==8.1.8
cmake==4.0.0
colorama==0.4.6
dlib @ dlib-19.22.1-cp39-cp39-win_amd64.whl
face-recognition==1.3.0
face-recognition-models==0.3.0
flask==3.1.0
gunicorn
importlib-metadata==8.6.1
itsdangerous==2.2.0
jinja2==3.1.6
MarkupSafe==3.0.2
numpy==1.20.2
opencv-python==4.11.0.86
pillow==11.1.0
werkzeug==3.1.3
zipp==3.21.0
-
834 8 0 You also don't think it would be more appropriate to use VPS hosting for such a script, as they would be significantly better for use than Heroku. Because as I guess from the modules, you are working with face recognition, probably, or something like that.
I wrote down the possible issues.
dlib + face-recognition
Critical: Heroku does not support the installation of dlib from source code without a custom buildpack or container.
These libraries require CMake, Boost, a C++ compiler, as well as access to the system's OpenCV libraries.
… Solution:
Use Heroku with a Docker container, where you will build the image with all dependencies yourself.
Or switch to a VPS/server with full system access.
opencv-python
May not work or work with limitations (especially functions that use access to the camera — Heroku does not have direct hardware access).
Solution: only offline image processing, and even then in Docker.
cmake
Needed only for compiling dlib, but Heroku does not allow installing system packages directly, so it won't work without Docker.
Write to me, I need to discuss the issue. The price may vary depending on the complexity of the solution and needs.
-
336 1 0 Good afternoon, I am ready to help with the deployment on the server, I would like to know more details in private messages.
-
595 2 0 Hello Nikita.
I have done similar work many times before. I have over 6 years of experience in development.
I am ready to offer a good price as I am just starting to develop my account and need ratings and reviews.
I will be happy to help you.
I am ready to answer all your questions.
Sincerely,
Georgiy
… Senior Python Developer
-
1341 23 0 Good day. Write, I will do everything.
------------------------------------------
-
94026 1265 1 10 Hello. I am ready to deploy your project. Besides the backend, what else is there? Database?
-
573 9 0 There is an option to deploy not on Heroku, but also to set up automatic deployment. Write to me.
-
726 9 1 Hello! Your project has sparked great interest in me. I am ready to start working immediately and ensure high-quality execution.
Current freelance projects in the category Python
Looking for a white-label solution for a betting company for rent. |
Creation of a Human AI Assistant for Telegram groups### 1.1. Key Concept of the System The system must perform two main functions: #### 1. Client Communication Analysis The AI assistant must automatically analyze all communication in Telegram groups and understand the context of the conversation. In particular, the system… AI & Machine Learning, Python ∙ 1 day 11 hours back ∙ 37 proposals |
Black Ukraine (RP-project on base MTA)
1162 USD
|
Telegram automation of message distribution in chatsNeed to send messages to Telegram chats. To avoid bans. There are several hundred chats. To configure the frequency and variability of texts. Python, Bot Development ∙ 1 day 12 hours back ∙ 30 proposals |
Development of software with AIIt is necessary to develop software for automatic detection, capturing, and tracking of an object using a video camera and a rotating mechanism.Output data: Video camera with optics. Rotating device on two axes (azimuth/elevation angle). Servomotors controlled via Modbus… AI & Machine Learning, Python ∙ 2 days 19 hours back ∙ 17 proposals |