o
    ´l®i‰  ã                   @   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+ d d	l,mZ- eƒ Z.e.j/edgddgdgd e. 0e
¡ e. 0e¡ e. 0e¡ e. 0e¡ e. 0e¡ e. 0e¡ e. 0e¡ e. 0e¡ e. 0e¡ e. 0e¡ e. 0e¡ e. 0e¡ e. 0e¡ e. 0e!¡ e. 0e#¡ e. 0e%¡ e. 0e'¡ e. 0e)¡ e. 0e+¡ e. 0e-¡ ej1 2ej1 3e4¡¡Z5ej1 6ej1 2e5¡d¡Z7ej1 8e7¡r+e.j9dee7dddd ej1 6e5d¡Z:ej1 8e:¡s>e ;e:¡ e.j9dee:ddd e<dkr]d 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.0iJ  Ú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.goalskill_routerÚgoalskill_routerÚapp.routers.auth_routerÚauth_routerÚappÚadd_middlewareÚinclude_routerÚpathÚdirnameÚabspathÚ__file__Úcurrent_dirÚjoinÚ
front_pathÚexistsÚmountÚupload_pathÚmakedirsÚ__name__ÚuvicornÚrun© rT   rT   ú"/home/air/goalskill_t/back/main.pyÚ<module>   s|    $
û
	




















ý