Spaces:
Running
Running
File size: 291 Bytes
c6e1b30 f3ccc4a | 1 2 3 4 5 6 7 8 9 10 | #!/bin/bash
set -e
# If CONFIG_JSON environment variable is set, write it to /app/config.json
if [ -n "$CONFIG_JSON" ]; then
echo "$CONFIG_JSON" > /app/config.json
echo "Config loaded from CONFIG_JSON environment variable"
fi
exec python -m gemini_web2api --config /app/config.json |