- Editer: Visual Studio Code
- Environment: Minicond
- Python: 3.7
- Django: 2.2
- API:
baidu-aip
- Download the ZIP and decompression ;
- Open the
Visual Studio Code
; - File -> Open Folder -> SpeechToText-master ;
- project -> server -> SpeechToText ;
- Right click the
manage.py
; - Open in Terminal ;
- if you are using conda,maybe you are in the
base
Environment, thebase
Environment is a PublicEnvironment; - if you are in the
base
Environment ,You need to typeconda create -n [YourEnvName]
in the Terminal ,to create a new Environment ; - And back to the
Visual Studio Code
to change your Environment at lower left quarter; - You are in PersonalEnvironment after that restart the Terminal;
- Success will be like this
(SpeechToText) c:\Users\wuwil\OneDrive - Kantar\dev\SpeechToText\project\server\SpeechToText>
in Terminal,(SpeechToText) is my PersonalEnvironment.
- if you in (PersonalEnvironment) - Terminal;
- Just type
python manage.py runserver
in Terminal ,you can start a simple server. - if you got an error , than you must type
pip install [YourMissingModules]
in Terminal;
- Open the
demo.html
,start to test.
Sand email to me : [email protected]