File size: 1,439 Bytes
52ffbae
b0aa2c0
ceba679
 
 
 
 
7eee57b
52ffbae
ceba679
52ffbae
 
769184f
52ffbae
b0aa2c0
52ffbae
ceba679
 
b0aa2c0
ceba679
 
b0aa2c0
ceba679
0a22466
ceba679
0a22466
 
 
ceba679
 
 
 
0a22466
 
 
 
 
 
 
 
2170f30
 
0a22466
 
 
 
 
 
 
 
 
ceba679
 
 
 
 
b0aa2c0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
---
title: VoiceField
emoji: 🗣️
colorFrom: blue
colorTo: purple
sdk: streamlit
sdk_version: 1.31.1
app_file: src/streamlit_app.py
pinned: false
license: mit
---

# VoiceField

A Streamlit application that helps users explore how they feel when speaking with different types of relational styles. Created by [Jocelyn Skillman LMHC](http://www.jocelynskillman.com).

## Features
- Interactive roleplay simulation
- Somatic Journaling - Live
- Customizable conversation scenarios
- AI-powered dialogue using Claude
- Interactive Debrief with somatic impact integration analysis 

## API Key Setup

### Local Development
1. Create a `.env` file in the root directory
2. Add your Anthropic API key:
```
ANTHROPIC_API_KEY=your_api_key_here
```

### Hugging Face Spaces
1. Go to your Space's Settings
2. Under "Repository secrets", add:
   - Name: `ANTHROPIC_API_KEY`
   - Value: Your Anthropic API key

### Testing API Key
To verify your API key is working:
1. Run the test app: `streamlit run src/minimal_test.py`
2. If successful, you'll be able to chat with Claude
3. If there's an error, check your API key configuration

## Running the App
1. Install dependencies:
```bash
pip install -r requirements.txt
```

2. Run the main app:
```bash
streamlit run src/streamlit_app.py
```

## Deployment
The app is configured for deployment on Hugging Face Spaces. Make sure to set the `ANTHROPIC_API_KEY` in the Space's secrets before deploying.