ashh757 commited on
Commit
56c4234
·
verified ·
1 Parent(s): c88bb88

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -26,7 +26,8 @@ async def generate(image: UploadFile = File(...),
26
  input_folder: str= Form('INPUT_IMAGES'),
27
  output_folder: str= Form('OUTPUT_MESHES'),
28
  input_s3_id: str= Form('input_image.png'),
29
- output_s3_id: str= Form('output_mesh.obj')
 
30
  ):
31
 
32
  # Save the uploaded image to a temporary location
@@ -49,7 +50,8 @@ async def generate(image: UploadFile = File(...),
49
  input_folder=input_folder,
50
  output_folder=output_folder,
51
  input_s3_id=input_s3_id,
52
- output_s3_id=output_s3_id
 
53
  )
54
 
55
  if output_video_path==None:
 
26
  input_folder: str= Form('INPUT_IMAGES'),
27
  output_folder: str= Form('OUTPUT_MESHES'),
28
  input_s3_id: str= Form('input_image.png'),
29
+ output_s3_id: str= Form('output_mesh.obj'),
30
+ output_video_s3_id= Form('output_video.mp4')
31
  ):
32
 
33
  # Save the uploaded image to a temporary location
 
50
  input_folder=input_folder,
51
  output_folder=output_folder,
52
  input_s3_id=input_s3_id,
53
+ output_s3_id=output_s3_id,
54
+ output_video_s3_id=output_video_s3_id
55
  )
56
 
57
  if output_video_path==None: