|
--- |
|
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 |
|
|
|
1. Clone the repository |
|
2. Install dependencies: `pip install -r requirements.txt` |
|
3. Set up environment variables in `.env`: |
|
``` |
|
ANTHROPIC_KEY=your_api_key_here |
|
``` |
|
4. Run the app: `streamlit run src/app.py` |
|
|
|
## Deployment |
|
|
|
This app is deployed on Hugging Face Spaces. To deploy your own instance: |
|
|
|
1. Fork this repository |
|
2. Create a new Space on Hugging Face |
|
3. Set the ANTHROPIC_KEY in your Space's secrets (Important: use this exact name) |
|
4. Select Streamlit as the SDK |
|
5. Link your repository to the Space |
|
|
|
## Learn More |
|
|
|
Visit [jocelynskillman.com](http://www.jocelynskillman.com) or subscribe to updates at [jocelynskillmanlmhc.substack.com](https://jocelynskillmanlmhc.substack.com/) |
|
|