Spaces:
Sleeping
Sleeping
import gradio as gr | |
from gradio.mix import Series | |
description = "Spanish songs toxicity classification" | |
title = "Pretrained models: ES-EN Translation Opus MT/ Roberta Toxicity classifier " | |
translator_es = gr.Interface.load("huggingface/Helsinki-NLP/opus-mt-es-en") | |
story_gen = gr.Interface.load("huggingface/SkolkovoInstitute/roberta_toxicity_classifier") | |
interface = Series( translator_es, story_gen, description = description, | |
title = title | |
) | |
interface.launch() | |