Spaces:
Build error
Build error
Update template/app_advanced.py
Browse files- template/app_advanced.py +2 -1
template/app_advanced.py
CHANGED
@@ -99,7 +99,8 @@ with gr.Blocks(css=css) as demo:
|
|
99 |
<p>
|
100 |
$description
|
101 |
</p>
|
102 |
-
Running on <b>
|
|
|
103 |
</div>
|
104 |
"""
|
105 |
)
|
|
|
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/$model_id/settings'>Settings</a></b>"}<br><br>
|
103 |
+
<a style="display:inline-block" href="https://huggingface.co/spaces/$model_id?duplicate=true"><img src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a>
|
104 |
</div>
|
105 |
"""
|
106 |
)
|