Skip to content

Commit e22fe8a

Browse files
committed
SearchResult res in video.clip method
1 parent 6e65feb commit e22fe8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

videodb/video.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -595,7 +595,7 @@ def clip(
595595
"model_name": model_name,
596596
},
597597
)
598-
return clip_data.get("stream_url")
598+
return SearchResult(self._connection, **clip_data)
599599

600600
def insert_video(self, video, timestamp: float) -> str:
601601
"""Insert a video into another video

0 commit comments

Comments
 (0)