PKUWilliamYang commited on
Commit
40c7710
1 Parent(s): da24537

Update app.py

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