pierreguillou commited on
Commit
e3ce249
·
1 Parent(s): 615b9eb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -1
app.py CHANGED
@@ -1,3 +1,11 @@
1
  import gradio as gr
2
 
3
- gr.Interface.load('spaces/sberbank-ai/mGPT', title="mindseye-lite (copy)", description="see description of orginal mindseye-lite").launch()
 
 
 
 
 
 
 
 
 
1
  import gradio as gr
2
 
3
+ title = "How to duplicate an existing Space?"
4
+ description = "POC with [spaces/sberbank-ai/mGPT](https://huggingface.co/spaces/sberbank-ai/mGPT)."
5
+ article="""
6
+ import gradio as gr
7
+ gr.Interface.load('spaces/....').launch()
8
+ """
9
+
10
+ iface = gr.Interface.load('spaces/sberbank-ai/mGPT', title=title, description=description)
11
+ iface.launch()