.png) and caption (.txt)..env file in the project root:SERVICES: dropdown items shown to users.TONES: tone presets.LOCAL_TAGS: default/local hashtags used to top up to 10.RED_FLAGS: phrases that trigger the warning banner.generate_image_url(...) / generate_image(...): prompt logic tied to service/tone/caption.chat.completions.create with response_format={"type":"json_object"} for reliable JSON.images.generate with a service-specific brief → returns a hosted URL (or base64, depending on function used).RED_FLAGS.venv..env or export in shell, then restart streamlit.response_format={"type": "json_object"} is set; fallback code still runs.SERVICE_BRIEFS, STYLE_VARIANTS, and PALETTE_VARIANTS in the image function..env or API keys.Posted Aug 13, 2025
Developed a Streamlit app for generating brand-safe social media content.
0
1
Aug 10, 2025 - Aug 12, 2025