Spaces:
Runtime error
Runtime error
Commit
·
b346de0
1
Parent(s):
61712c2
reorganize the layout and provide examples
Browse files
app.py
CHANGED
|
@@ -4,7 +4,7 @@ import numpy as np
|
|
| 4 |
from inference import setup_model, colorize_grayscale, predict_anchors
|
| 5 |
|
| 6 |
## local | remote
|
| 7 |
-
RUN_MODE = "
|
| 8 |
if RUN_MODE != "local":
|
| 9 |
os.system("wget https://huggingface.co/menghanxia/disco/resolve/main/disco-beta.pth.rar")
|
| 10 |
os.rename("disco-beta.pth.rar", "./checkpoints/disco-beta.pth.rar")
|
|
|
|
| 4 |
from inference import setup_model, colorize_grayscale, predict_anchors
|
| 5 |
|
| 6 |
## local | remote
|
| 7 |
+
RUN_MODE = "remote"
|
| 8 |
if RUN_MODE != "local":
|
| 9 |
os.system("wget https://huggingface.co/menghanxia/disco/resolve/main/disco-beta.pth.rar")
|
| 10 |
os.rename("disco-beta.pth.rar", "./checkpoints/disco-beta.pth.rar")
|