Spaces:
Runtime error
Runtime error
Commit
·
7aaa4e3
1
Parent(s):
0883856
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ 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="<code>import gradio as gr<br/>gr.Interface.load('spaces/....').launch()</code>"
|
6 |
|
7 |
iface = gr.Interface.load('spaces/sberbank-ai/mGPT', title=title, description=description, article=article)
|
8 |
iface.launch()
|
|
|
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="<code style='background-color: white;'>import gradio as gr<br/>gr.Interface.load('spaces/....').launch()</code>"
|
6 |
|
7 |
iface = gr.Interface.load('spaces/sberbank-ai/mGPT', title=title, description=description, article=article)
|
8 |
iface.launch()
|