vibs08 commited on
Commit
e2e5798
·
verified ·
1 Parent(s): 0b67988

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -250,8 +250,8 @@ async def process_image(
250
  if upload_file_to_s3(mesh_name_obj, 'framebucket3d',object_name) and upload_file_to_s3(mesh_name_glb, 'framebucket3d',object_name_2):
251
 
252
  return {
253
- "obj_path": f"https://framebucket3d.s3.amazonaws.com//tmp/{object_name}",
254
- "glb_path": f"https://framebucket3d.s3.amazonaws.com//tmp/{object_name_2}"
255
  }
256
 
257
  else:
 
250
  if upload_file_to_s3(mesh_name_obj, 'framebucket3d',object_name) and upload_file_to_s3(mesh_name_glb, 'framebucket3d',object_name_2):
251
 
252
  return {
253
+ "obj_path": f"https://framebucket3d.s3.amazonaws.com/{object_name}",
254
+ "glb_path": f"https://framebucket3d.s3.amazonaws.com/{object_name_2}"
255
  }
256
 
257
  else: