Skip to main content

Understanding AI - App structure

The main.py file is the AI-App entrypoint, here we have defined two functions:

  • config function - called when the app configuration gets changed
  • execute function - called each time the app is invoked

Face Recognition - Project Structure Main

Fig. 3: Face Recognition - Project Structure Main



The pyproject.toml file is used to include the project dependencies like used libraries and frameworks.

Face Recognition - Project Structure Main

Fig. 4: Face Recognition - Project Structure Main



The face_input.py contains the python model binding for the FaceInput concept.

Face Recognition - App Input

Fig. 5: Face Recognition - App Input



The face_output.py contains the python model binding for the FaceOutput concept.

Face Recognition - App Output

Fig. 6: Face Recognition - App Output



The face_config.py contains the python model binding for the FaceConfig concept.

Face Recognition - Model Config

Fig. 7: Face Recognition - Model Config



OpenfabricAI Footer