File size: 351 Bytes
d574c8f
615b9eb
e3ce249
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
import gradio as gr

title = "How to duplicate an existing Space?"
description = "POC with [spaces/sberbank-ai/mGPT](https://huggingface.co/spaces/sberbank-ai/mGPT)."
article="""
import gradio as gr
gr.Interface.load('spaces/....').launch()
"""

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