Spaces:
Sleeping
Sleeping
itsdvirani
commited on
Commit
•
2a52803
1
Parent(s):
53866ed
Update README.md
Browse files
README.md
CHANGED
@@ -10,3 +10,94 @@ pinned: false
|
|
10 |
---
|
11 |
|
12 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
---
|
11 |
|
12 |
|
13 |
+
|
14 |
+
## Project Overview
|
15 |
+
|
16 |
+
This project provides a comprehensive tool for analyzing and comparing multiple candidates based on various data points extracted from their introduction videos. It uses emotion scores, transcript scores, and the actual transcript text to generate insights about each candidate's communication skills, emotional expressions, and overall suitability for recruitment.
|
17 |
+
|
18 |
+
## Features
|
19 |
+
|
20 |
+
- Multi-candidate comparison
|
21 |
+
- Analysis of emotion data
|
22 |
+
- Evaluation of transcript scores
|
23 |
+
- Gaze data analysis
|
24 |
+
- Overall comparison across all data types
|
25 |
+
- Interactive visualizations
|
26 |
+
- AI-powered insights generation
|
27 |
+
|
28 |
+
## How to Use
|
29 |
+
|
30 |
+
1. Clone this repository to your local machine.
|
31 |
+
2. Install the required dependencies:
|
32 |
+
```
|
33 |
+
pip install -r requirements.txt
|
34 |
+
```
|
35 |
+
3. Run the Streamlit app:
|
36 |
+
```
|
37 |
+
streamlit run app.py
|
38 |
+
```
|
39 |
+
4. Upload the required CSV and TXT files for each candidate when prompted.
|
40 |
+
5. Select the type of analysis you want to perform.
|
41 |
+
6. Use the chat interface to ask questions about the candidates and receive AI-generated insights.
|
42 |
+
|
43 |
+
## Interface Usage Guide
|
44 |
+
|
45 |
+
1. **Uploading Data**: Upload the required files for each candidate when prompted.
|
46 |
+
|
47 |
+
2. **Selecting Candidates**: If you've uploaded data for multiple candidates, you can select which ones to include in your analysis using the multiselect dropdown.
|
48 |
+
|
49 |
+
3. **Choosing Analysis Type**: Select the type of analysis you want to perform from the dropdown menu.
|
50 |
+
|
51 |
+
4. **Formulating Queries**: Use the chat input to ask questions about the candidates. Here are some guidelines for effective queries:
|
52 |
+
|
53 |
+
- For visualizations, include words like "compare", "graph", or "show" in your query.
|
54 |
+
- To analyze specific features, mention them by name (e.g., "happy" for emotion, "speech_speed" for transcript score).
|
55 |
+
- Available parameters for each analysis type are always shown on the screen.
|
56 |
+
- To compare all features, use queries like "Please compare all emotions of the selected candidates" or "Show all transcript scores for the candidates".
|
57 |
+
- For an overall comparison of candidates, choose the "overall comparison" option from the analysis type dropdown.
|
58 |
+
- If you've uploaded data for 10 candidates but only want to compare 5, select those 5 from the multiselect dropdown before asking your query.
|
59 |
+
|
60 |
+
Examples:
|
61 |
+
- "Graph the 'happy' emotion for all selected candidates"
|
62 |
+
- "Compare the speech speed and confidence scores of Candidate 1 and Candidate 3"
|
63 |
+
- "Show the distribution of all emotions for the selected candidates"
|
64 |
+
- "Analyze the gaze patterns of all candidates"
|
65 |
+
|
66 |
+
Remember, the more specific your query, the more targeted the analysis will be!
|
67 |
+
|
68 |
+
## File Structure
|
69 |
+
|
70 |
+
- `app.py`: Main application file
|
71 |
+
- `emotion.py`: Functions for emotion data analysis
|
72 |
+
- `transcrip_score.py`: Functions for transcript score analysis
|
73 |
+
- `gaze.py`: Functions for gaze data analysis
|
74 |
+
- `transcrip.py`: Functions for transcript text analysis
|
75 |
+
|
76 |
+
## Data Requirements
|
77 |
+
|
78 |
+
For each candidate, you need to provide:
|
79 |
+
- `emotion.csv`: Contains emotion scores throughout the video
|
80 |
+
- `transcript_score.csv`: Contains scores extracted from the transcript
|
81 |
+
- `gaze.csv`: Contains gaze data from the video
|
82 |
+
- `transcript.txt`: Contains the full transcript text
|
83 |
+
|
84 |
+
## Dependencies
|
85 |
+
|
86 |
+
- streamlit
|
87 |
+
- pandas
|
88 |
+
- seaborn
|
89 |
+
- matplotlib
|
90 |
+
- google-generativeai
|
91 |
+
- numpy
|
92 |
+
|
93 |
+
## Note on API Key
|
94 |
+
|
95 |
+
This project uses the Gemini API. Make sure to replace the placeholder API key in the code with your actual Gemini API key before running the application.
|
96 |
+
|
97 |
+
## Contributing
|
98 |
+
|
99 |
+
Contributions to improve the project are welcome. Please fork the repository and create a pull request with your changes.
|
100 |
+
|
101 |
+
## License
|
102 |
+
|
103 |
+
[Specify your license here]
|