soyailabs / run.py
SOY NV AI
Initial commit: SOY NV AI ์‹ ๊ทœ ํ”„๋กœ์ ํŠธ ์ƒ์„ฑ
b55a977
raw
history blame
330 Bytes
import sys
import os
# UTF-8 ์ธ์ฝ”๋”ฉ ๊ฐ•์ œ ์„ค์ • (Windows cp949 ์˜ค๋ฅ˜ ๋ฐฉ์ง€)
if sys.platform == 'win32':
sys.stdout.reconfigure(encoding='utf-8')
sys.stderr.reconfigure(encoding='utf-8')
from app import create_app
app = create_app()
if __name__ == '__main__':
app.run(host='0.0.0.0', port=5000, debug=True)