File size: 2,197 Bytes
a8f07b6
0346266
a8f07b6
 
 
 
 
 
 
 
 
 
0346266
 
fbb1578
 
 
 
 
 
 
 
 
 
 
 
 
 
 
0346266
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---
title: BabelSlide 1.0
emoji: 🐠
colorFrom: gray
colorTo: green
sdk: gradio
sdk_version: 5.12.0
app_file: app.py
pinned: false
license: apache-2.0
---

# BabelSlide 1.0

## About

BabelSlide is a powerful tool for translating PowerPoint presentations using state-of-the-art AI models. It supports multiple translation engines, including DeepSeek, ChatGPT, and Mistral. The application is designed to help users easily translate slides and generate comprehensive reviews of the translations.

### Key Features:
- **Multi-language Support**: Translate slides into over 20 languages.
- **AI-Powered Translation**: Utilizes advanced AI models for accurate translations.
- **Review Generation**: Automatically generates a detailed review of the translated content.
- **User-Friendly Interface**: Simple and intuitive Gradio-based interface.

### Technologies Used:
- **Python**: Core programming language.
- **Gradio**: For building the web interface.
- **OpenAI API**: For accessing translation models.
- **python-pptx**: For handling PowerPoint files.

## How to Use

1. **Upload a PowerPoint File**: Click the "Upload PowerPoint File" button to select a `.pptx` file.
2. **Choose an API Provider**: Select an API provider (e.g., DeepSeek, ChatGPT, Mistral) from the dropdown menu.
3. **Enter Your API Key**: Input your API key in the "API Key" field.
4. **Select Languages**: Choose the source and target languages from the dropdown menus.
5. **Start Translation**: Click the "Translate" button to begin the translation process.
6. **Download Results**: Once the translation is complete, download the translated PowerPoint file and the review file.

## Requirements

To run the application locally, you need:

- Python 3.8 or newer
- Installed libraries: `python-pptx`, `openai`, `gradio`

You can install the required libraries using the following command:

```bash
pip install python-pptx openai gradio
License
This project is licensed under the Apache License 2.0.

Authors:
Heuristica
Marek Staniszewski

Support
For any questions or support, please contact:
Email: staniszewski@heuristica.pl

Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference