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
+4-4
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ def setup(self) -> None:
24
24
defpredict(
25
25
self,
26
26
renderType: str=Input(
27
-
description="UI renders with UI. Forward, Wide, and Driver process the raw, segmented, and low-compatibility HEVC video files into a portable HEVC or H264 MP4 file, are fast transcodes, and are great for quick previews. 360 requires viewing/uploading the video file in VLC or YouTube to pan around in a 🌐 sphere. Forward Upon Wide roughly overlays Forward video on Wide video. 360 Forward Upon Wide is 360 with Forward Upon Wide as the forward video.",
27
+
description="UI renders with the comma openpilot UI. Forward, Wide, and Driver process the raw, segmented, and low-compatibility HEVC video files into a portable HEVC or H264 MP4 file, are fast transcodes, and are great for quick previews. 360 requires viewing/uploading the video file in VLC or YouTube to pan around in a 🌐 sphere or post-processing with software such as Insta360 Studio or similar software for reframing. Forward Upon Wide roughly overlays Forward video on Wide video for increased detail in Forward video. 360 Forward Upon Wide is 360 with Forward Upon Wide as the forward video and scales up to render at 8K for reframing with Insta360 Studio or similar software.",
28
28
choices=[
29
29
"ui",
30
30
"forward",
@@ -37,7 +37,7 @@ def predict(
37
37
default="ui",
38
38
),
39
39
route: str=Input(
40
-
description='🔗 comma connect URL (e.g. https://connect.comma.ai/fe18f736cb0d7813/1698620773416/1698620855707, this is the preferred input method and includes dongle ID with start/end times.) OR #️⃣ route ID (e.g. a2a0ccea32023010|2023-07-27--13-01-19. Note that any segment ID \"--\" appended to the end will be ignored as\"startSecond\" is used instead, but route id portion of input will still accepted)'
40
+
description='One 🔗 comma connect URL (e.g. https://connect.comma.ai/18277b1abce7bbe4/00000029--e1c8705a52/132/144, this is the preferred input method and includes dongle ID with start/end times.) OR one #️⃣ route ID (e.g. a2a0ccea32023010|2023-07-27--13-01-19. Note that any segment ID \"--\" appended to the end will be ignored as\"startSecond\" is used instead, but route id portion of input will still accepted)'
41
41
' (⚠️ "Public Access" must be enabled or a valid JWT Token must be provided.'
42
42
" All required files for render type in Comma Connect must be uploaded from device."
43
43
" Please see the Quick Usage section of the README on GitHub at https://github.com/nelsonjchen/op-replay-clipper#quick-usage for instructions on generating an appropiate comma connect URL.)",
@@ -61,7 +61,7 @@ def predict(
61
61
default=5,
62
62
),
63
63
speedhackRatio: float=Input(
64
-
description="(UI Render only) Speedhack ratio (Higher ratio renders faster but renders may be more unstable and have artifacts) (Suggestion: 0.1-0.3 for jitter-free, 1-3 for fast renders)",
64
+
description="(UI Render only) Speedhack ratio (Higher ratio renders faster but renders may be more unstable and have artifacts) (Suggestion: 0.1-0.3 for jitter-free, 1-3 for fast renders). WARNING: Too low of a speed hack ratio may cause the render to exceed 10 minutes which is the max Replicate will allow for a single run. Please use 1.0 for everyday use.",
65
65
ge=0.1,
66
66
le=7.0,
67
67
default=1.0,
@@ -76,7 +76,7 @@ def predict(
76
76
default=2.2,
77
77
),
78
78
fileSize: int=Input(
79
-
description="Rough size of clip output in MB.", ge=10, le=100, default=25
79
+
description="Rough size of clip output in MB.", ge=10, le=200, default=25
80
80
),
81
81
fileFormat: str=Input(
82
82
description="H.264 or HEVC (HEVC is 50-60 percent higher quality for its filesize but may not be compatible with all web browsers or devices).",
0 commit comments