url
Browse files- gradio_app.py +1 -1
gradio_app.py
CHANGED
|
@@ -175,7 +175,7 @@ def generate_and_process_3d(image: Image.Image) -> str:
|
|
| 175 |
filename = f'model_{unique_id}.glb'
|
| 176 |
output_path = os.path.join(OUTPUT_DIR, filename)
|
| 177 |
trimesh_mesh.export(output_path, file_type="glb", include_normals=True)
|
| 178 |
-
public_url = f"https://
|
| 179 |
|
| 180 |
return public_url
|
| 181 |
|
|
|
|
| 175 |
filename = f'model_{unique_id}.glb'
|
| 176 |
output_path = os.path.join(OUTPUT_DIR, filename)
|
| 177 |
trimesh_mesh.export(output_path, file_type="glb", include_normals=True)
|
| 178 |
+
public_url = f"https://rgndgn-i3d.hf.space/file={output_path}"
|
| 179 |
|
| 180 |
return public_url
|
| 181 |
|