Fix: "cont" is not defined and wrong parameter is passed to modalities in model.generate

#2

Problems:

  1. "cont" is not defined
  2. video_data = (video, video) is tuple with 2 elements, and modalities=video_data[2] will raise ERROR
    It should be: modalities=input_data[2]
  3. max_frames_num = "64" causes the wrong type of max_frames_num, and it will raise ERROR
THUdyh changed pull request status to merged

Sign up or log in to comment