lalalalalalalalalala commited on
Commit
7778c92
·
verified ·
1 Parent(s): 6bba632

Update run.py

Browse files
Files changed (1) hide show
  1. run.py +1 -0
run.py CHANGED
@@ -33,6 +33,7 @@ def fast_caption(sys_prompt, usr_prompt, temp, top_p, max_tokens, model, key, en
33
  caption = api.get_caption(sys_prompt, usr_prompt, base64_list)
34
  return f"{caption}", f"Using model '{model}' with {len(frames)} frames extracted.", debug_image
35
  elif video_hf and video_hf_auth:
 
36
  # Process all videos in the dataset
37
  all_captions = []
38
  temp_parquet_file = hf_hub_download(
 
33
  caption = api.get_caption(sys_prompt, usr_prompt, base64_list)
34
  return f"{caption}", f"Using model '{model}' with {len(frames)} frames extracted.", debug_image
35
  elif video_hf and video_hf_auth:
36
+ print('begin video_hf')
37
  # Process all videos in the dataset
38
  all_captions = []
39
  temp_parquet_file = hf_hub_download(