CoolFace
Apppublic

Muteeah/tajweed_backend

sourceHugging Faceupdated 4mo agoView on Hugging Face
0likes
main.cpython-314.pyc9 linesDownload Raw Back to __pycache__
1+
2��tiv���^RIHtHtHt^RIHt^RIt]!4t]P]R.RR.R.R7]PR4]!R4R	3R3Rll4t4R#)�)�FastAPI�File�5UploadFile)�CORSMiddlewareN�*T)�
allow_origins�allow_credentials�
allow_methods�
allow_headersz
/upload-audio.�c�0�V^8�dQhR\R\/#)��file�word_id)r�str)�formats"�7C:\Users\RYZEN\OneDrive\Desktop\tajweed_backend\main.py�__annotate__rs����Z��c��c��"�RVR2p\P!RRR7\VR4;_uu_4pTPVP	4GRjx�L64RRR4RVRVR	2pR7V/#L +'giL;i5i)zuploads/z.wav�uploadsT)�exist_ok�wbNz	Received z, saved at � �message)�os�makedirs�open�write�read)rr�
file_location�f�results&&   r�upload_audior$sz����w�i�t�,�M��K�K�	�D�)�	
�m�T�	"�	"�a�	���d�i�i�k�!�"�8#���	��]�O�1�
=�F��v���"�9#�	"�s.�3B�A4�A2�A4�B�2A4�4B	�?B)�fastapirrr�fastapi.middleware.corsrr�app�add_middleware�postr$�rr�<module>r+sh��-�-�2�	�
�i�������%���%��%������/��*.�s�)�B���r