File size: 925 Bytes
176f814
 
 
 
 
 
 
 
 
 
 
9801786
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---
title: PSYCHEPLOT
emoji: 👾
colorFrom: indigo
colorTo: purple
sdk: streamlit
sdk_version: "1.27.2"
app_file: app.py
pinned: false
---

# PSYCHEPLOT

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

Interactive storytelling application with personality analysis.

## Setup
1. Clone the repository
2. Install dependencies: `pip install -r requirements.txt`
3. Add GROQ API key to Hugging Face Spaces secrets

## Files
- `app.py`: Main Streamlit application
- `story_engine.py`: Story generation logic
- `model.py`: Personality prediction model
- `personality_profiles.json`: Personality type definitions

## Models
Make sure these files are included in the repository:
- personality_rf_model.joblib
- tfidf_vectorizer.joblib
- label_encoder.joblib

## Features
- Multiple story genres
- Dynamic story generation
- Personality analysis
- Real-time trait tracking