File size: 1,978 Bytes
d54928b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
---
title: My Streamlit Space
emoji: 🚀
colorFrom: indigo
colorTo: purple
sdk: streamlit
app_file: app.py
pinned: false
---

Simple Streamlit demo on Hugging Face Spaces.


# Sentiment Analysis App

![Streamlit](https://img.shields.io/badge/Streamlit-%23FF4B4B?logo=streamlit&logoColor=white)
![Python](https://img.shields.io/badge/Python-3.8%2B-blue)
![License](https://img.shields.io/badge/License-MIT-green)

> A clean, production-minded Streamlit app that reads text and returns generic & finance-aware sentiment labels and confidence scores.

---

## Why this project

Market language is different: the same phrase can mean different things in finance compared to casual chat. This app is designed to:
- prioritize clarity (human-readable outputs),
- be resilient in deployment (tips to avoid first-run timeouts),
- and be easy to extend (swap the model, add dashboards).

---

## Quick visual 
![Demo](assets/demo.gif)  

---

## Project structure


- **app.py** - main Streamlit application script  
- **requirements.txt** - Python dependencies  
- **setup.sh** - shell script for environment setup  
- **runtime.txt** - runtime configuration (for deployment, e.g. Heroku)  
- **.devcontainer/** - config for VSCode / dev container setup  
- **Data/** - datasets, corpora, lexicons etc.  
- **finance/** - finance-specific modules, models, tools  
- **notebooks/**- Jupyter notebooks used during experimentation / prototyping  

---

## Installation & Setup

Below is a typical setup for development and running locally.

1. **Clone the repository**

   ```bash
   git clone https://github.com/Ani-404/Sentiment-Analysis-App.git
   cd Sentiment-Analysis-App
   ```
2. **(Optional) Create & activate a virtual environment**

   ```bash
   python3 -m venv venv
   source venv/bin/activate
   ```
   
3. **Install dependencies**
   ```bash
   pip install -r requirements.txt
   ```

4. **Run the application locally**
   ```bash
   streamlit run app.py
   ```
---