📜 fix: encoding error

This commit is contained in:
Florian Hönicke
2023-04-20 11:14:00 +02:00
parent ce2ec9f81e
commit b793b23197
3 changed files with 4 additions and 1 deletions

View File

@@ -1,3 +1,4 @@
from src import env # noqa: F401 to make sure certain environment variables are set
from src import main
if __name__ == "__main__":

View File

@@ -2,7 +2,6 @@ import functools
import os
import click
from langchain.callbacks import get_openai_callback
from src.apis.jina_cloud import jina_auth_login
from src.options.configure.key_handling import set_api_key

3
src/env.py Normal file
View File

@@ -0,0 +1,3 @@
import os
os.environ['PYTHONIOENCODING']='utf-8'