Spaces:
Running
Running
Kirubel Mehari commited on
Commit 路
c1a1d03
1
Parent(s): 6c969e9
Install sharp CLI at startup
Browse files
app.py
CHANGED
|
@@ -5,6 +5,11 @@ import uuid
|
|
| 5 |
import shutil
|
| 6 |
import tempfile
|
| 7 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
DESCRIPTION = """
|
| 9 |
# SHARP 路 3D from a Single Photo
|
| 10 |
Upload any photo and get a **3D Gaussian Splat (.ply)** in seconds.
|
|
|
|
| 5 |
import shutil
|
| 6 |
import tempfile
|
| 7 |
|
| 8 |
+
|
| 9 |
+
import sys
|
| 10 |
+
import subprocess as _sp
|
| 11 |
+
_sp.run([sys.executable, '-m', 'pip', 'install', '--quiet', 'git+https://github.com/apple/ml-sharp.git'], check=True)
|
| 12 |
+
|
| 13 |
DESCRIPTION = """
|
| 14 |
# SHARP 路 3D from a Single Photo
|
| 15 |
Upload any photo and get a **3D Gaussian Splat (.ply)** in seconds.
|