Spaces:
Runtime error
Runtime error
Commit
·
2432b66
1
Parent(s):
c01d896
Update app.py
Browse files
app.py
CHANGED
|
@@ -121,7 +121,7 @@ def main():
|
|
| 121 |
- The final image result will be based on this **Rescaled Face**. Use padding parameters to adjust the background space.
|
| 122 |
- **<font color=red>Solution to [Error: no face detected!]</font>**: VToonify uses dlib.get_frontal_face_detector but sometimes it fails to detect a face. You can try several times or use other images until a face is detected, then switch back to the original image.
|
| 123 |
- For video input, further hit the **Rescale Video** button.
|
| 124 |
-
- The final video result will be based on this **Rescaled Video**. To avoid overload, video is cut to at most **100** frames.
|
| 125 |
|
| 126 |
''')
|
| 127 |
with gr.Row():
|
|
@@ -209,7 +209,7 @@ def main():
|
|
| 209 |
|
| 210 |
- Adjust **Style Degree**.
|
| 211 |
- Hit **Toonify!** to toonify one frame. Hit **VToonify!** to toonify full video.
|
| 212 |
-
- Estimated time on 1600x1440 video of 300 frames: 1 hour (CPU);
|
| 213 |
''')
|
| 214 |
style_degree = gr.Slider(0,
|
| 215 |
1,
|
|
|
|
| 121 |
- The final image result will be based on this **Rescaled Face**. Use padding parameters to adjust the background space.
|
| 122 |
- **<font color=red>Solution to [Error: no face detected!]</font>**: VToonify uses dlib.get_frontal_face_detector but sometimes it fails to detect a face. You can try several times or use other images until a face is detected, then switch back to the original image.
|
| 123 |
- For video input, further hit the **Rescale Video** button.
|
| 124 |
+
- The final video result will be based on this **Rescaled Video**. To avoid overload, video is cut to at most **100/300** frames for CPU/GPU, respectively.
|
| 125 |
|
| 126 |
''')
|
| 127 |
with gr.Row():
|
|
|
|
| 209 |
|
| 210 |
- Adjust **Style Degree**.
|
| 211 |
- Hit **Toonify!** to toonify one frame. Hit **VToonify!** to toonify full video.
|
| 212 |
+
- Estimated time on 1600x1440 video of 300 frames: 1 hour (CPU); 2 mins (GPU)
|
| 213 |
''')
|
| 214 |
style_degree = gr.Slider(0,
|
| 215 |
1,
|