Spaces:
Runtime error
Runtime error
Update run.py
Browse files
run.py
CHANGED
@@ -58,7 +58,7 @@ def fast_caption(sys_prompt, usr_prompt, temp, top_p, max_tokens, model, key, en
|
|
58 |
with open(_v.name, "wb") as f:
|
59 |
_ = f.write(binary)
|
60 |
_chunk.append(_v.name)
|
61 |
-
md5 = hashlib.md5(
|
62 |
|
63 |
# processor = VideoProcessor(frame_format=frame_format, frame_limit=frame_limit)
|
64 |
# frames = processor._decode(_v.name)
|
|
|
58 |
with open(_v.name, "wb") as f:
|
59 |
_ = f.write(binary)
|
60 |
_chunk.append(_v.name)
|
61 |
+
md5 = hashlib.md5(binary).hexdigest()
|
62 |
|
63 |
# processor = VideoProcessor(frame_format=frame_format, frame_limit=frame_limit)
|
64 |
# frames = processor._decode(_v.name)
|