jbilcke-hf HF Staff commited on
Commit
ce1adb2
·
verified ·
1 Parent(s): eb0d432

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -3
README.md CHANGED
@@ -99,13 +99,13 @@ def encode_image(image_path):
99
  return f"data:image/jpeg;base64,{base64_encoded}"
100
 
101
  # Example usage with image-to-video generation
102
- image_filename = "horror/prawns.jpg" # Path to your input image
103
- video_filename = "horror/prawnrror_8.mp4"
104
 
105
  config = {
106
  "inputs": {
107
  "prompt": "magnificent underwater footage, clownfishes swimming around coral inside the carribean sea, real gopro footage",
108
- "image": encode_image(image_filename)
109
  },
110
 
111
  "parameters": {
 
99
  return f"data:image/jpeg;base64,{base64_encoded}"
100
 
101
  # Example usage with image-to-video generation
102
+ image_filename = "input.jpg" # Path to your input image
103
+ video_filename = "output.mp4"
104
 
105
  config = {
106
  "inputs": {
107
  "prompt": "magnificent underwater footage, clownfishes swimming around coral inside the carribean sea, real gopro footage",
108
+ # "image": encode_image(image_filename)
109
  },
110
 
111
  "parameters": {