Download config.js from armaansingh752k1/Image_generator_Docker: direct link, hf CLI and curl.
- Browser
- Download file 639 Bytes
-
https://huggingface.co/spaces/armaansingh752k1/Image_generator_Docker/resolve/main/config.js
- Command line
-
hf download hf://spaces/armaansingh752k1/Image_generator_Docker/config.js
-
curl -L -o config.js https://huggingface.co/spaces/armaansingh752k1/Image_generator_Docker/resolve/main/config.js
639 Bytes
| // | |
| // SPDX-FileCopyrightText: Hadad <hadad@linuxmail.org> | |
| // SPDX-License-Identifier: Apache-2.0 | |
| // | |
| export default { | |
| server: { | |
| port: 3000, | |
| host: '0.0.0.0' | |
| }, | |
| api: { | |
| baseUrl: process.env.OPENAI_API_BASE_URL, | |
| key: process.env.OPENAI_API_KEY, | |
| timeout: 120000 | |
| }, | |
| storage: { | |
| maxAge: 600000, | |
| cleanupInterval: 60000 | |
| }, | |
| limits: { | |
| bodySize: '2mb', | |
| maxContentLength: 2097152 | |
| }, | |
| generation: { | |
| progressInterval: 800, | |
| startDelay: 50, | |
| maxProgress: 99 | |
| }, | |
| paths: { | |
| views: 'public', | |
| mainView: 'webViewer' | |
| }, | |
| websocket: { | |
| heartbeat: 30000, | |
| reconnectDelay: 100 | |
| } | |
| }; |