File size: 1,348 Bytes
818956c
 
8961339
 
818956c
 
8961339
818956c
 
 
2a16b08
818956c
 
8961339
 
2a16b08
8961339
 
 
2a16b08
 
 
 
 
8961339
2a16b08
8961339
2a16b08
 
 
 
 
 
 
 
8961339
2a16b08
8961339
2a16b08
 
 
 
 
8961339
 
 
2a16b08
 
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
---
title: NewsIA
emoji: πŸ“°
colorFrom: blue
colorTo: red
sdk: gradio
sdk_version: 5.0.0
app_file: app.py
pinned: false
license: apache-2.0
short_description: AI-Powered News Generator
---

# πŸ“° NewsIA - AI News Generator

NewsIA is an application that uses artificial intelligence to generate professional news articles from multiple sources using optimized models.

## Features

- **Multiple input sources**: Documents (PDF, DOCX, XLSX, CSV), audio, video, URLs, and social media
- **Automatic transcription**: Transcribes audio/video files using Whisper
- **Efficient generation**: Uses Unsloth-optimized TinyLlama for fast inference
- **Memory management**: Automatic model reset for ZeroGPU compatibility
- **Customization**: Adjustable length and tone

## How to Use

1. Provide **instructions** and **key facts**
2. Adjust desired **length** (100-500 words) and **tone**
3. Add optional sources:
   - Upload documents
   - Add audio/video files for transcription
   - Include relevant URLs
   - Add social media links
4. Click **Generate News**

## Technical Improvements

- πŸš€ 4x faster inference with Unsloth
- πŸ”’ Secure model loading (weights_only=True)
- πŸ’» Full English interface
- 🧠 Optimized memory management for ZeroGPU
- πŸ“ˆ Updated dependencies for Gradio 5.x

## Installation

```bash
pip install -r requirements.txt