Spaces:
Sleeping
Sleeping
File size: 607 Bytes
82e2a45 3de3d63 82e2a45 3de3d63 d6c9c39 3de3d63 d6c9c39 3de3d63 d6c9c39 3de3d63 d6c9c39 3de3d63 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
import gradio as gr
from gradio.mix import Series
description = "Reguetton spanish songs toxicity classification"
title = "ES-EN Translation / Toxicity classification / EN-ES Translation"
#translator_es = gr.Interface.load("huggingface/Helsinki-NLP/opus-mt-es-en")
story_gen = gr.Interface.load("huggingface/SkolkovoInstitute/roberta_toxicity_classifier")
#translator_en = gr.Interface.load("huggingface/Helsinki-NLP/opus-mt-en-es")
examples = [["La aventura comienza en"]]
interface = Series( story_gen, description = description,
title = title,
examples=examples
)
interface.launch() |