VoiceField / README.md
jostlebot's picture
Fix VoiceField naming consistency
769184f
|
raw
history blame
1.44 kB
---
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.