Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -3,12 +3,11 @@
|
|
3 |
import gradio as gr
|
4 |
from gradio.mix import Series
|
5 |
|
6 |
-
description = "
|
7 |
-
title = "ES-EN Translation / Toxicity
|
8 |
|
9 |
translator_es = gr.Interface.load("huggingface/Helsinki-NLP/opus-mt-es-en")
|
10 |
story_gen = gr.Interface.load("huggingface/SkolkovoInstitute/roberta_toxicity_classifier")
|
11 |
-
#translator_en = gr.Interface.load("huggingface/Helsinki-NLP/opus-mt-en-es")
|
12 |
|
13 |
|
14 |
interface = Series( translator_es, story_gen, description = description,
|
|
|
3 |
import gradio as gr
|
4 |
from gradio.mix import Series
|
5 |
|
6 |
+
description = "Spanish songs toxicity classification"
|
7 |
+
title = "ES-EN Translation Opus MT/ Roberta Toxicity classifier "
|
8 |
|
9 |
translator_es = gr.Interface.load("huggingface/Helsinki-NLP/opus-mt-es-en")
|
10 |
story_gen = gr.Interface.load("huggingface/SkolkovoInstitute/roberta_toxicity_classifier")
|
|
|
11 |
|
12 |
|
13 |
interface = Series( translator_es, story_gen, description = description,
|