anzorq commited on
Commit
8009860
β€’
1 Parent(s): f97046c

Update template/app_advanced.py

Browse files
Files changed (1) hide show
  1. 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>{"GPU πŸ”₯" if torch.cuda.is_available() else "CPU πŸ₯Ά"}</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
  )