Spaces:
Sleeping
Sleeping
Update Space configuration for Streamlit deployment
Browse files
README.md
CHANGED
|
@@ -1,19 +1,41 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
-
sdk:
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
- streamlit
|
| 10 |
pinned: false
|
| 11 |
-
|
| 12 |
---
|
| 13 |
|
| 14 |
-
#
|
| 15 |
|
| 16 |
-
|
| 17 |
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: Attachment Style Roleplay Simulator
|
| 3 |
+
emoji: 🗣️
|
| 4 |
+
colorFrom: blue
|
| 5 |
+
colorTo: purple
|
| 6 |
+
sdk: streamlit
|
| 7 |
+
sdk_version: 1.31.1
|
| 8 |
+
app_file: src/streamlit_app.py
|
|
|
|
| 9 |
pinned: false
|
| 10 |
+
license: mit
|
| 11 |
---
|
| 12 |
|
| 13 |
+
# Attachment Style Roleplay Simulator
|
| 14 |
|
| 15 |
+
A Streamlit application that helps users practice difficult conversations based on their attachment style. Created by [Jocelyn Skillman LMHC](http://www.jocelynskillman.com).
|
| 16 |
|
| 17 |
+
## Features
|
| 18 |
+
- Interactive roleplay simulation
|
| 19 |
+
- Attachment style-based responses
|
| 20 |
+
- Customizable conversation scenarios
|
| 21 |
+
- AI-powered dialogue using Claude
|
| 22 |
+
|
| 23 |
+
## Setup
|
| 24 |
+
1. Install dependencies:
|
| 25 |
+
```bash
|
| 26 |
+
pip install -r requirements.txt
|
| 27 |
+
```
|
| 28 |
+
|
| 29 |
+
2. Set up environment variables:
|
| 30 |
+
Create a `.env` file with your Anthropic API key:
|
| 31 |
+
```
|
| 32 |
+
ANTHROPIC_API_KEY=your_api_key_here
|
| 33 |
+
```
|
| 34 |
+
|
| 35 |
+
3. Run the app:
|
| 36 |
+
```bash
|
| 37 |
+
streamlit run src/streamlit_app.py
|
| 38 |
+
```
|
| 39 |
+
|
| 40 |
+
## Deployment
|
| 41 |
+
The app is configured for deployment on Hugging Face Spaces. Make sure to set the `ANTHROPIC_API_KEY` in the Space's secrets.
|