o
    ó.iC  ã                   @   s¨  d dl mZ d dlmZ d dlmZ d dlZd dlZejddd d dl	m
Z
mZmZmZmZmZmZ d d	lmZ d d	lmZ d d	lmZ d d	lmZ d d	lmZ d d	lmZ d d	lmZ d d	lmZ d d	l mZ! d d	l"mZ# d d
lmZm$Z% d d	l&mZ' d d	l(mZ) d d	l*mZ+ eƒ Z,e,j-edgddgdgd e, .e
¡ e, .e¡ e, .e¡ e, .e¡ e, .e¡ e, .e¡ e, .e¡ e, .e¡ e, .e¡ e, .e¡ e, .e¡ e, .e¡ e, .e¡ e, .e!¡ e, .e#¡ e, .e%¡ e, .e'¡ e, .e)¡ e, .e+¡ ej/ 0ej/ 1e2¡¡Z3ej/ 4ej/ 0e3¡d¡Z5ej/ 6e5¡r e,j7dee5dddd ej/ 4e3d¡Z8ej/ 6e8¡s3e 9e8¡ e,j7dee8ddd e:dkrRd dl;Z;e;j<e,dddd dS dS )é    )ÚFastAPI)ÚCORSMiddleware)ÚStaticFilesNÚignorez .*Pydantic serializer warnings.*)Úmessage)Úmbti_routerÚpython_routerÚreport_routerÚ
stt_routerÚfindgoal_routerÚselfpr_routerÚcurriculum_router)Úrouter)r   Úfile_routerÚ*T)Úallow_originsÚallow_credentialsÚallow_methodsÚallow_headersÚfrontú/)Ú	directoryÚhtmlÚstatic)ÚnameÚuploadsz/uploads)r   Ú__main__z0.0.0.0iK  Údebug)ÚhostÚportÚ	log_level)=Úfastapir   Úfastapi.middleware.corsr   Úfastapi.staticfilesr   ÚosÚwarningsÚfilterwarningsÚapp.routersr   r   r	   r
   r   r   r   Úapp.routers.selfpr_routerr   Úapp.routers.capture_routerÚcapture_routerÚapp.routers.spi_routerÚ
spi_routerÚapp.routers.summary_routerÚsummary_routerÚapp.routers.quiz_routerÚquiz_routerÚapp.routers.general_routerÚgeneral_routerÚapp.routers.curriculum_routerÚapp.routers.weather_routerÚweather_routerÚapp.routers.studyplan_routerÚstudyplan_routerÚapp.routers.it_routerÚ	it_routerr   Úcurriculum_file_routerÚapp.routers.company_info_routerÚcompany_info_routerÚapp.routers.interview_routerÚinterview_routerÚapp.routers.today_goal_routerÚtoday_goal_routerÚappÚadd_middlewareÚinclude_routerÚpathÚdirnameÚabspathÚ__file__Úcurrent_dirÚjoinÚ
front_pathÚexistsÚmountÚupload_pathÚmakedirsÚ__name__ÚuvicornÚrun© rR   rR   ú&/home/air/goalskill_sales/back/main.pyÚ<module>   sx    $
û
	



















ý