Spaces:
Runtime error
Runtime error
Update template/app_advanced.py
Browse files- template/app_advanced.py +2 -2
template/app_advanced.py
CHANGED
@@ -99,8 +99,8 @@ with gr.Blocks(css=css) as demo:
|
|
99 |
<p>
|
100 |
$description
|
101 |
</p>
|
102 |
-
Running on {"<b>GPU 🔥</b>" if torch.cuda.is_available() else f"<b>CPU 🥶</b>. For faster inference it is recommended to <b>upgrade to GPU in <a href='https://huggingface.co/spaces/$
|
103 |
-
<a style="display:inline-block" href="https://huggingface.co/spaces/$
|
104 |
</div>
|
105 |
"""
|
106 |
)
|
|
|
99 |
<p>
|
100 |
$description
|
101 |
</p>
|
102 |
+
Running on {"<b>GPU 🔥</b>" if torch.cuda.is_available() else f"<b>CPU 🥶</b>. For faster inference it is recommended to <b>upgrade to GPU in <a href='https://huggingface.co/spaces/$space_id/settings'>Settings</a></b>"}<br><br>
|
103 |
+
<a style="display:inline-block" href="https://huggingface.co/spaces/$space_id?duplicate=true"><img src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a>
|
104 |
</div>
|
105 |
"""
|
106 |
)
|