Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -10,11 +10,9 @@ title = "ES-EN Translation / Toxicity classification / EN-ES Translation"
|
|
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 |
-
examples = [["La aventura comienza en"]]
|
14 |
|
15 |
interface = Series( story_gen, description = description,
|
16 |
-
title = title
|
17 |
-
examples=examples
|
18 |
)
|
19 |
|
20 |
interface.launch()
|
|
|
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( story_gen, description = description,
|
15 |
+
title = title
|
|
|
16 |
)
|
17 |
|
18 |
interface.launch()
|