vibe_translator / README.md
trashchenkov's picture
Initial version: English-Russian translator app
7c6cdf1

A newer version of the Gradio SDK is available: 5.29.0

Upgrade
metadata
title: Vibe Translator
emoji: 🔥
colorFrom: blue
colorTo: purple
sdk: gradio
sdk_version: 5.25.1
app_file: app.py
pinned: false
license: apache-2.0

English-to-Russian Translator

A simple web application for translating text from English to Russian using a pre-trained neural model.

Features

  • Web interface built with Gradio
  • Uses the Hugging Face model Helsinki-NLP/opus-mt-en-ru for translation
  • Input field for English text, translation button, and output field for Russian translation
  • Handles empty input and long text errors gracefully

How to Run (Locally)

  1. Установите зависимости:
    pip install -r requirements.txt
    
  2. Запустите приложение:
    python app.py
    
  3. Откройте браузер и перейдите по адресу http://127.0.0.1:7860

How to Deploy on Hugging Face Spaces

  1. Загрузите в репозиторий следующие файлы:
    • app.py
    • requirements.txt
    • README.md
  2. Создайте новый Space на Hugging Face Spaces с типом Gradio.
  3. После загрузки файлов приложение автоматически соберётся и будет доступно онлайн.

About

  • This project was created in the Windsurf environment with the help of GPT-4.1.
  • Author: Trashchenkov Sergei

Made with ❤️ using Gradio, Hugging Face Transformers, and GPT-4.1 in Windsurf.