YoloFace-BE/main.py
2024-11-04 15:36:52 +08:00

17 lines
365 B
Python

from persica.context.application import ApplicationContext
from persica.applicationbuilder import ApplicationBuilder
def main():
app = (
ApplicationBuilder()
.set_application_context_class(ApplicationContext)
.set_scanner_packages(["src.core", "src.route"])
.build()
)
app.run()
if __name__ == "__main__":
main()