Spaces:
Runtime error
Runtime error
SerdarHelli
commited on
Commit
•
ff2c2a9
1
Parent(s):
e9ceefd
Update app.py
Browse files
app.py
CHANGED
@@ -11,10 +11,9 @@ from tqdm import tqdm
|
|
11 |
import gradio as gr
|
12 |
|
13 |
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
sys.path.insert(0, 'stylegan3')
|
18 |
|
19 |
def layout_grid(img, grid_w=None, grid_h=1, float_to_uint8=True, chw_to_hwc=True, to_numpy=True):
|
20 |
batch_size, channels, img_h, img_w = img.shape
|
|
|
11 |
import gradio as gr
|
12 |
|
13 |
|
14 |
+
os.system("git clone https://github.com/NVlabs/stylegan3")
|
15 |
+
|
16 |
+
sys.path.append("stylegan3")
|
|
|
17 |
|
18 |
def layout_grid(img, grid_w=None, grid_h=1, float_to_uint8=True, chw_to_hwc=True, to_numpy=True):
|
19 |
batch_size, channels, img_h, img_w = img.shape
|