Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -209,7 +209,7 @@ async def process_image(file: UploadFile = File(...), foreground_ratio: float =
|
|
| 209 |
|
| 210 |
if upload_file_to_s3(glb_file, 'framebucket3d',object_name):
|
| 211 |
return {
|
| 212 |
-
"
|
| 213 |
}
|
| 214 |
|
| 215 |
if __name__ == "__main__":
|
|
|
|
| 209 |
|
| 210 |
if upload_file_to_s3(glb_file, 'framebucket3d',object_name):
|
| 211 |
return {
|
| 212 |
+
"glb2_path": f"https://framebucket3d.s3.amazonaws.com/{object_name}"
|
| 213 |
}
|
| 214 |
|
| 215 |
if __name__ == "__main__":
|