Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lmms_eval/models/simple/srt_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ async def generate(self, request):
imgs = None
break

time_instruciton = f"The video lasts for {video_time:.2f} seconds, and {len(frames)} frames are uniformly sampled from it. These frames are located at {frame_time}.Please answer the following questions related to this video."
time_instruciton = f"The video lasts for {video_time:.2f} seconds, and {len(frames)} frames are uniformly sampled from it. These frames are located at {frame_time}.Please answer the following questions related to this video."
if self.add_time_instruction:
contexts = f"{time_instruciton}\n{contexts}"
else:
Expand Down Expand Up @@ -243,7 +243,7 @@ def generate_sync(self, request):
imgs = None
break

time_instruciton = f"The video lasts for {video_time:.2f} seconds, and {len(frames)} frames are uniformly sampled from it. These frames are located at {frame_time}.Please answer the following questions related to this video."
time_instruciton = f"The video lasts for {video_time:.2f} seconds, and {len(frames)} frames are uniformly sampled from it. These frames are located at {frame_time}.Please answer the following questions related to this video."
if self.add_time_instruction:
contexts = f"{time_instruciton}\n{contexts}"
else:
Expand Down