Spaces:
Running
Running
updating readme
Browse files
README.md
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
---
|
2 |
-
title: Media Unmasked
|
3 |
emoji: π
|
4 |
colorFrom: purple
|
5 |
colorTo: red
|
@@ -9,10 +9,65 @@ license: apache-2.0
|
|
9 |
short_description: AI-powered media bias detection API
|
10 |
---
|
11 |
|
12 |
-
|
13 |
|
|
|
14 |
|
15 |
-
|
16 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
uvicorn app.main:app --host 0.0.0.0 --port 7860 --reload
|
18 |
-
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
+
title: Media Unmasked API
|
3 |
emoji: π
|
4 |
colorFrom: purple
|
5 |
colorTo: red
|
|
|
9 |
short_description: AI-powered media bias detection API
|
10 |
---
|
11 |
|
12 |
+
# Media Unmasked API
|
13 |
|
14 |
+
## Project Overview
|
15 |
|
16 |
+
Media Unmasked API is an AI-powered tool designed to detect media bias in articles. It scrapes articles from the web, analyzes their content for bias, sentiment, and credibility, and provides a comprehensive analysis report.
|
17 |
+
|
18 |
+
## Features
|
19 |
+
|
20 |
+
- Scrape articles from various websites
|
21 |
+
- Analyze content for bias and sentiment
|
22 |
+
- Provide detailed analysis reports
|
23 |
+
- Store analysis results in a database
|
24 |
+
|
25 |
+
## Installation
|
26 |
+
|
27 |
+
To set up the project locally, follow these steps:
|
28 |
+
|
29 |
+
1. Clone the repository:
|
30 |
+
```bash
|
31 |
+
git clone https://github.com/LtShibby/media-unmasked-api.git
|
32 |
+
```
|
33 |
+
|
34 |
+
2. Navigate to the project directory:
|
35 |
+
```bash
|
36 |
+
cd media-unmasked-api
|
37 |
+
```
|
38 |
+
|
39 |
+
3. Install the required dependencies:
|
40 |
+
```bash
|
41 |
+
pip install -r requirements.txt
|
42 |
+
```
|
43 |
+
|
44 |
+
4. Set up environment variables by creating a `.env` file based on the `.env.example` provided.
|
45 |
+
|
46 |
+
## Usage
|
47 |
+
|
48 |
+
To run the application, use the following command:
|
49 |
+
|
50 |
+
```bash
|
51 |
uvicorn app.main:app --host 0.0.0.0 --port 7860 --reload
|
52 |
+
```
|
53 |
+
|
54 |
+
Once the server is running, you can access the API at `http://localhost:7860`.
|
55 |
+
|
56 |
+
## Configuration
|
57 |
+
|
58 |
+
The application can be configured using environment variables. Key variables include:
|
59 |
+
|
60 |
+
- `SUPABASE_URL`: The URL for the Supabase database.
|
61 |
+
- `SUPABASE_KEY`: The API key for accessing Supabase.
|
62 |
+
|
63 |
+
## Contributing
|
64 |
+
|
65 |
+
Contributions are welcome! Please fork the repository and submit a pull request for any improvements or bug fixes.
|
66 |
+
|
67 |
+
## License
|
68 |
+
|
69 |
+
This project is licensed under the Apache-2.0 License.
|
70 |
+
|
71 |
+
## Contact
|
72 |
+
|
73 |
+
For any questions or inquiries, please contact the maintainers at [[email protected]].
|