pierreguillou's picture
Update app.py
1039424
raw
history blame
390 Bytes
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="<div><code>import gradio as gr<br/>gr.Interface.load('spaces/....').launch()</code></div>"
iface = gr.Interface.load('spaces/sberbank-ai/mGPT', title=title, description=description, article=article)
iface.launch()