Spaces:
Sleeping
Sleeping
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") | |
interface = Series( translator_es, story_gen, translator_en, description = description, | |
title = title | |
) | |
interface.launch() | |