import gradio as gr css="code {font-family: Consolas;color: crimson;background-color: #f1f1f1;padding: 2px;font-size: 105%;}" title = "How to duplicate an existing Space?" description = "POC with [spaces/sberbank-ai/mGPT](https://huggingface.co/spaces/sberbank-ai/mGPT)." article="

Here, the minimum code to use in the file app.py:

import gradio as gr
gr.Interface.load('spaces/....').launch()

" iface = gr.Interface.load('spaces/sberbank-ai/mGPT', title=title, description=description, article=article, css=css) iface.launch()