Spaces:
Runtime error
Runtime error
pierreguillou
commited on
Commit
•
8d0cf1c
1
Parent(s):
c4dd2c4
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ css="code {font-family: Consolas;color: crimson;background-color: #f1f1f1;paddin
|
|
4 |
|
5 |
title = "How to duplicate an existing Space?"
|
6 |
description = "POC with [spaces/sberbank-ai/mGPT](https://huggingface.co/spaces/sberbank-ai/mGPT)."
|
7 |
-
article="<p>Here, the minimum code to use in the file <a href='blob/main/app.py'>app.py</a>:</p><p><code>import gradio as gr<br>gr.Interface.load('spaces/....').launch()</code></p>"
|
8 |
|
9 |
iface = gr.Interface.load('spaces/sberbank-ai/mGPT', title=title, description=description, article=article, css=css)
|
10 |
iface.launch()
|
|
|
4 |
|
5 |
title = "How to duplicate an existing Space?"
|
6 |
description = "POC with [spaces/sberbank-ai/mGPT](https://huggingface.co/spaces/sberbank-ai/mGPT)."
|
7 |
+
article="<p>Here, the minimum code to use in the file <a href='https://huggingface.co/spaces/pierreguillou/duplicate-an-existing-space/blob/main/app.py'>app.py</a>:</p><p><code>import gradio as gr<br>gr.Interface.load('spaces/....').launch()</code></p>"
|
8 |
|
9 |
iface = gr.Interface.load('spaces/sberbank-ai/mGPT', title=title, description=description, article=article, css=css)
|
10 |
iface.launch()
|