You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: predict.py
+19-2Lines changed: 19 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -24,8 +24,16 @@ def setup(self) -> None:
24
24
defpredict(
25
25
self,
26
26
renderType: str=Input(
27
-
description="Render Type. UI is slow. Forward, Wide, and Driver are fast transcodes; they are great for quick previews. 360 is slow and requires viewing/uploading the video file in VLC or YouTube to pan around in a 🌐 sphere.",
description="Render Type. UI is slow. Forward, Wide, and Driver are fast transcodes; they are great for quick previews. 360 is slow and requires viewing/uploading the video file in VLC or YouTube to pan around in a 🌐 sphere. Forward Upon Wide roughly overlays Forward on Wide. 360 Forward Upon Wide is 360 with Forward Upon Wide as the forward video.",
28
+
choices=[
29
+
"ui",
30
+
"forward",
31
+
"wide",
32
+
"driver",
33
+
"360",
34
+
"forward_upon_wide",
35
+
"360_forward_upon_wide",
36
+
],
29
37
default="ui",
30
38
),
31
39
route: str=Input(
@@ -59,6 +67,9 @@ def predict(
59
67
metric: bool=Input(
60
68
description="(UI Render only) Render in metric units (km/h)", default=False
61
69
),
70
+
forwardUponWideH: float=Input(
71
+
description="(Forward Upon Wide Renders only) H-position of the forward video overlay on wide. Different devices can have different offsets from the factory.", ge=1.9, le=2.3, default=2.2
72
+
),
62
73
fileSize: int=Input(
63
74
description="Rough size of clip output in MB.", ge=10, le=100, default=25
0 commit comments