Spaces:
Runtime error
Runtime error
Commit
·
82409e3
1
Parent(s):
720917f
Update app.py
Browse files
app.py
CHANGED
@@ -2,10 +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 style='font-family: Consolas;color: crimson;background-color: #f1f1f1;padding: 2px;font-size: 105%;'>
|
6 |
-
import gradio as gr
|
7 |
-
gr.Interface.load('spaces/....').launch()
|
8 |
-
</code>"
|
9 |
|
10 |
iface = gr.Interface.load('spaces/sberbank-ai/mGPT', title=title, description=description, article=article)
|
11 |
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='font-family: Consolas;color: crimson;background-color: #f1f1f1;padding: 2px;font-size: 105%;'>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()
|