Spaces:
Running
on
Zero
Running
on
Zero
slothfulxtx
commited on
Commit
·
dd86648
1
Parent(s):
34120aa
add parameter docs
Browse files
app.py
CHANGED
|
@@ -379,6 +379,19 @@ def build_demo():
|
|
| 379 |
interactive=False
|
| 380 |
)
|
| 381 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 382 |
gr.Examples(
|
| 383 |
examples=examples,
|
| 384 |
fn=infer_geometry,
|
|
|
|
| 379 |
interactive=False
|
| 380 |
)
|
| 381 |
|
| 382 |
+
gr.Markdown(
|
| 383 |
+
"""
|
| 384 |
+
Parameters:
|
| 385 |
+
- `process length`: only process the first `process length` frames for geometry estimation, `-1` denotes the whole video
|
| 386 |
+
- `max resolution`: downsample the long side to the target resolution (if exceed) before processing to save memory usage
|
| 387 |
+
- `num denoising steps`: the number of denoising iterations, `5` is enough for most cases
|
| 388 |
+
- `cfg scale`: recommended as the default value `1.0`
|
| 389 |
+
- `shift window size`: recommended as the default value `110`
|
| 390 |
+
- `decode chunk size`: chunk size for VAE decoder, you can set it as `4` or `6` to save memory usage
|
| 391 |
+
- `overlap`: recommended as the default value `25`
|
| 392 |
+
"""
|
| 393 |
+
)
|
| 394 |
+
|
| 395 |
gr.Examples(
|
| 396 |
examples=examples,
|
| 397 |
fn=infer_geometry,
|