1
0
forked from cgvr/DeltaVR

fix networking UI again + tweaks to pipeline script

This commit is contained in:
2025-11-07 16:56:34 +02:00
parent 09f764c0df
commit d2e1c7b56f
5 changed files with 12 additions and 9 deletions

View File

@@ -87,6 +87,9 @@ def image_to_3d_api(image_path, output_path):
base64_encoded = base64.b64encode(image_data).decode('utf-8')
model_binary = generate_no_preview(base64_encoded)
with open(output_path, 'wb') as f:
output_file = f"{output_path}.glb"
with open(output_file, 'wb') as f:
f.write(model_binary)
return output_file