A newer version of the Gradio SDK is available:
6.3.0
metadata
title: DiMa_DeMo
emoji: ✨
colorFrom: pink
colorTo: indigo
sdk: gradio
sdk_version: 5.49.1
app_file: app.py
python_version: '3.10'
pinned: false
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
DiMa_new — Demo Space
What it does:
- Takes an English sentence
- Translates to Russian
- Detects candidate discourse markers using the gazetteer shipped with
MariaOls/DiMa_new - Marks
<cand> … </cand>, classifiesdmvsnot_dm - Returns only the candidates considered
dm(otherwise prints “no DMs found”)
Model: MariaOls/DiMa_new
Note: Translation quality affects detection. This is a tiny, poster-friendly demo — not a production system.
Run locally (optional)
pip install -r requirements.txt
python app.py