├── .env.example ├── .github └── workflows │ └── build_docker.yml ├── .gitignore ├── Dockerfile ├── LICENSE ├── README.md ├── app.py ├── docker-compose.yml ├── requirements.txt └── src ├── Logger.py ├── chat2dalle.py ├── config.py ├── dalle2chat.py └── stream.py /.env.example: -------------------------------------------------------------------------------- 1 | OPENAI_BASE_URL=https://api.example.com/v1 2 | -------------------------------------------------------------------------------- /.github/workflows/build_docker.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lanqian528/dalle-to-chat-proxy/HEAD/.github/workflows/build_docker.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /.env 2 | -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lanqian528/dalle-to-chat-proxy/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lanqian528/dalle-to-chat-proxy/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lanqian528/dalle-to-chat-proxy/HEAD/README.md -------------------------------------------------------------------------------- /app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lanqian528/dalle-to-chat-proxy/HEAD/app.py -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lanqian528/dalle-to-chat-proxy/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | requests 2 | flask 3 | python-dotenv -------------------------------------------------------------------------------- /src/Logger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lanqian528/dalle-to-chat-proxy/HEAD/src/Logger.py -------------------------------------------------------------------------------- /src/chat2dalle.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lanqian528/dalle-to-chat-proxy/HEAD/src/chat2dalle.py -------------------------------------------------------------------------------- /src/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lanqian528/dalle-to-chat-proxy/HEAD/src/config.py -------------------------------------------------------------------------------- /src/dalle2chat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lanqian528/dalle-to-chat-proxy/HEAD/src/dalle2chat.py -------------------------------------------------------------------------------- /src/stream.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lanqian528/dalle-to-chat-proxy/HEAD/src/stream.py --------------------------------------------------------------------------------