title: Attachment Style Roleplay Simulator
emoji: 🎭
colorFrom: purple
colorTo: pink
sdk: streamlit
sdk_version: 1.45.0
app_file: src/app.py
pinned: false
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
This Streamlit app provides an anonymous chat interface powered by OpenAI's gpt-4o model, designed as a 'digital companion' called ShadowBox.
Attachment Style Roleplay Simulator
A therapeutic roleplay simulator built for practicing emotionally charged conversations, created by Jocelyn Skillman LMHC.
About
This tool helps users rehearse boundary-setting and difficult conversations by simulating realistic relational dynamics—tailored to their attachment style. It provides a safe space to practice emotional communication and receive feedback on patterns and progress.
Features
- Customizable scenarios and conversation goals
- Attachment style-specific responses
- Realistic relational pressure simulation
- Reflection summaries and pattern tracking
- Safe, contained practice environment
Setup
- Clone the repository
- Install dependencies:
pip install -r requirements.txt
- Set up environment variables in
.env
:ANTHROPIC_KEY=your_api_key_here
- Run the app:
streamlit run src/app.py
Deployment
This app is deployed on Hugging Face Spaces. To deploy your own instance:
- Fork this repository
- Create a new Space on Hugging Face
- Set the ANTHROPIC_KEY in your Space's secrets (Important: use this exact name)
- Select Streamlit as the SDK
- Link your repository to the Space
Learn More
Visit jocelynskillman.com or subscribe to updates at jocelynskillmanlmhc.substack.com