Spaces:
Running
on
Zero
Running
on
Zero
rlawjdghek
commited on
Commit
β’
87d708c
1
Parent(s):
dae78dc
space delete
Browse files
app.py
CHANGED
@@ -1,4 +1,3 @@
|
|
1 |
-
import spaces
|
2 |
import os
|
3 |
import sys
|
4 |
import time
|
@@ -10,6 +9,7 @@ import gradio as gr
|
|
10 |
import torch
|
11 |
from omegaconf import OmegaConf
|
12 |
from PIL import Image
|
|
|
13 |
print("pip import done")
|
14 |
|
15 |
from cldm.model import create_model
|
@@ -26,7 +26,7 @@ from preprocess.openpose.run_openpose import OpenPose
|
|
26 |
# import apply_net
|
27 |
print("app import done")
|
28 |
|
29 |
-
os.environ['GRADIO_TEMP_DIR'] = './tmp' # TODO: turn off when final upload
|
30 |
|
31 |
IMG_H = 512
|
32 |
IMG_W = 384
|
|
|
|
|
1 |
import os
|
2 |
import sys
|
3 |
import time
|
|
|
9 |
import torch
|
10 |
from omegaconf import OmegaConf
|
11 |
from PIL import Image
|
12 |
+
import spaces
|
13 |
print("pip import done")
|
14 |
|
15 |
from cldm.model import create_model
|
|
|
26 |
# import apply_net
|
27 |
print("app import done")
|
28 |
|
29 |
+
# os.environ['GRADIO_TEMP_DIR'] = './tmp' # TODO: turn off when final upload
|
30 |
|
31 |
IMG_H = 512
|
32 |
IMG_W = 384
|