PKUWilliamYang commited on
Commit
adadbcc
1 Parent(s): 87e6952

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -28,7 +28,11 @@ DESCRIPTION = '''
28
  <video id="video" width=50% controls="" preload="none" poster="https://repository-images.githubusercontent.com/534480768/53715b0f-a2df-4daa-969c-0e74c102d339">
29
  <source id="mp4" src="https://user-images.githubusercontent.com/18130694/189483939-0fc4a358-fb34-43cc-811a-b22adb820d57.mp4
30
  " type="video/mp4">
31
- </videos></div>
 
 
 
 
32
  '''
33
  FOOTER = '<div align=center><img id="visitor-badge" alt="visitor badge" src="https://visitor-badge.laobi.icu/badge?page_id=williamyang1991/VToonify" /></div>'
34
 
 
28
  <video id="video" width=50% controls="" preload="none" poster="https://repository-images.githubusercontent.com/534480768/53715b0f-a2df-4daa-969c-0e74c102d339">
29
  <source id="mp4" src="https://user-images.githubusercontent.com/18130694/189483939-0fc4a358-fb34-43cc-811a-b22adb820d57.mp4
30
  " type="video/mp4">
31
+ </videos>
32
+ <p>Running on {"<b>GPU 🔥</b>" if torch.cuda.is_available() else f"<b>CPU 🥶</b>.
33
+ For faster inference without waiting in queue, you may duplicate the space and use the GPU setting<b> "}
34
+ <a style="display:inline-block" href="https://huggingface.co/spaces/PKUWilliamYang/VToonify?duplicate=true"><img src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a>
35
+ <p/></div>
36
  '''
37
  FOOTER = '<div align=center><img id="visitor-badge" alt="visitor badge" src="https://visitor-badge.laobi.icu/badge?page_id=williamyang1991/VToonify" /></div>'
38