Spaces:
Runtime error
Runtime error
Commit
·
e3ce249
1
Parent(s):
615b9eb
Update app.py
Browse files
app.py
CHANGED
@@ -1,3 +1,11 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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()
|