sc666 commited on
Commit
d5ceaea
·
verified ·
1 Parent(s): 9b75bc7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -389,15 +389,15 @@ def process_input(text, image):
389
  # Define example data with corrected syntax
390
  examples = [
391
  {
392
- "text": "From 0 to 1 seconds, the camera rapidly descends. From 1 to 3 seconds, the camera slowly moves to the right.",
393
  "image": "cake.png",
394
  "json": json.dumps({
395
  "1": [
396
  {"starttime": 0.0, "endtime": 1.0, "speed": "high", "direction": "down", "rotate": "0"},
397
- {"starttime": 1.0, "endtime": 3.0, "speed": "low", "direction": "right", "rotate": "0"}
398
  ]
399
  }, indent=4),
400
- "video": "/data/home/yangxiaoda/FlexCaM/description-video/20250224_1723_1-new/diffusion0.mp4"
401
  }
402
  ]
403
 
 
389
  # Define example data with corrected syntax
390
  examples = [
391
  {
392
+ "text": "From 0 to 1 seconds, the camera rapidly descends. From 1 to 3 seconds, the camera slowly moves to the left.",
393
  "image": "cake.png",
394
  "json": json.dumps({
395
  "1": [
396
  {"starttime": 0.0, "endtime": 1.0, "speed": "high", "direction": "down", "rotate": "0"},
397
+ {"starttime": 1.0, "endtime": 3.0, "speed": "low", "direction": "left", "rotate": "0"}
398
  ]
399
  }, indent=4),
400
+ "video": "cake.mp4"
401
  }
402
  ]
403