mirror of
https://github.com/w-okada/voice-changer.git
synced 2025-01-23 21:45:00 +03:00
15 lines
236 B
Bash
Executable File
15 lines
236 B
Bash
Executable File
#!/bin/bash
|
|
|
|
echo config: $1
|
|
echo model: $2
|
|
cp -r /resources/* .
|
|
|
|
if [[ -e ./setting.json ]]; then
|
|
cp ./setting.json ../frontend/dist/assets/setting.json
|
|
fi
|
|
pip install flask
|
|
pip install flask_cors
|
|
python3 serverFlask.py 8080 $1 $2
|
|
|
|
|