anzorq akhaliq HF staff commited on
Commit
c5dbbe6
β€’
1 Parent(s): 7cc360b

more clear duplicate space wording (#6)

Browse files

- more clear duplicate space wording (d8ae05159fd8ce3e0f2a9ee51e741012f21c98da)


Co-authored-by: Ahsen Khaliq <akhaliq@users.noreply.huggingface.co>

Files changed (1) hide show
  1. template/app_advanced.py +1 -1
template/app_advanced.py CHANGED
@@ -82,7 +82,7 @@ with gr.Blocks(css=css) as demo:
82
  $description<br>
83
  {"Add the following tokens to your prompts for the model to work properly: <b>prefix</b>" if prefix else ""}
84
  </p>
85
- 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>
86
  <a style="display:inline-block" href="https://huggingface.co/spaces/$space_id?duplicate=true"><img src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a>
87
  </div>
88
  """
 
82
  $description<br>
83
  {"Add the following tokens to your prompts for the model to work properly: <b>prefix</b>" if prefix else ""}
84
  </p>
85
+ 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>"} after duplicating the space<br><br>
86
  <a style="display:inline-block" href="https://huggingface.co/spaces/$space_id?duplicate=true"><img src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a>
87
  </div>
88
  """