mGPT / app.py
ai-forever's picture
Update app.py
3483b56
raw
history blame
519 Bytes
import gradio as gr
description = "Multilingual generation with mGPT"
title = "Generate your own example"
examples = [["""English: The vase with flowers is on the table.\nFinnish translation:"""]]
interface = gr.Interface.load("huggingface/sberbank-ai/mGPT",
description=description,
examples=examples,
thumbnail = 'https://habrastorage.org/r/w1560/getpro/habr/upload_files/26a/fa1/3e1/26afa13e1d1a56f54c7b0356761af7b8.png',
theme = "huggingface"
)
interface.launch()