--- 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