diff --git a/python/sglang/multimodal_gen/README.md b/python/sglang/multimodal_gen/README.md index 68c9fb4b7..363251663 100644 --- a/python/sglang/multimodal_gen/README.md +++ b/python/sglang/multimodal_gen/README.md @@ -37,15 +37,14 @@ def main(): num_gpus=1, # Adjust based on your hardware ) - # Provide a prompt for your video - prompt = "A curious raccoon peers through a vibrant field of yellow sunflowers, its eyes wide with interest." - # Generate the video video = generator.generate( - prompt, - return_frames=True, # Also return frames from this call (defaults to False) - output_path="my_videos/", # Controls where videos are saved - save_output=True + sampling_params_kwargs=dict( + prompt="A curious raccoon peers through a vibrant field of yellow sunflowers, its eyes wide with interest.", + return_frames=True, # Also return frames from this call (defaults to False) + output_path="my_videos/", # Controls where videos are saved + save_output=True + ) ) if __name__ == '__main__':