Update web_demo (#247)
Browse files- run_app.py +1 -0
- run_app_zh.py +1 -0
run_app.py
CHANGED
@@ -22,6 +22,7 @@ import os
|
|
22 |
import sys
|
23 |
from pathlib import Path
|
24 |
|
|
|
25 |
|
26 |
def main():
|
27 |
"""Main function to launch the OWL Intelligent Assistant Platform"""
|
|
|
22 |
import sys
|
23 |
from pathlib import Path
|
24 |
|
25 |
+
os.environ['PYTHONIOENCODING'] = 'utf-8'
|
26 |
|
27 |
def main():
|
28 |
"""Main function to launch the OWL Intelligent Assistant Platform"""
|
run_app_zh.py
CHANGED
@@ -22,6 +22,7 @@ import os
|
|
22 |
import sys
|
23 |
from pathlib import Path
|
24 |
|
|
|
25 |
|
26 |
def main():
|
27 |
"""主函数,启动OWL智能助手运行平台"""
|
|
|
22 |
import sys
|
23 |
from pathlib import Path
|
24 |
|
25 |
+
os.environ['PYTHONIOENCODING'] = 'utf-8'
|
26 |
|
27 |
def main():
|
28 |
"""主函数,启动OWL智能助手运行平台"""
|