Spaces:
Runtime error
Runtime error
Commit
·
df62e57
1
Parent(s):
8bb8404
update
Browse files- app.py +0 -2
- requirements.txt +1 -0
app.py
CHANGED
|
@@ -41,8 +41,6 @@ def resize_inputs(image_input, crop_size):
|
|
| 41 |
results = add_margin(ref_img_, size=256)
|
| 42 |
return results
|
| 43 |
|
| 44 |
-
def generate(syncdreamer_model, image, elevation):
|
| 45 |
-
|
| 46 |
|
| 47 |
def run_demo():
|
| 48 |
device = f"cuda:0" if torch.cuda.is_available() else "cpu"
|
|
|
|
| 41 |
results = add_margin(ref_img_, size=256)
|
| 42 |
return results
|
| 43 |
|
|
|
|
|
|
|
| 44 |
|
| 45 |
def run_demo():
|
| 46 |
device = f"cuda:0" if torch.cuda.is_available() else "cpu"
|
requirements.txt
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
|
|
| 1 |
torch
|
| 2 |
pytorch_lightning==1.9.0
|
| 3 |
Pillow==10.0.0
|
|
|
|
| 1 |
+
--extra-index-url https://download.pytorch.org/whl/cu113
|
| 2 |
torch
|
| 3 |
pytorch_lightning==1.9.0
|
| 4 |
Pillow==10.0.0
|