Spaces:
Paused
Paused
Update gradio_tabs/animation.py
Browse files- gradio_tabs/animation.py +2 -2
gradio_tabs/animation.py
CHANGED
|
@@ -6,8 +6,8 @@ from PIL import Image
|
|
| 6 |
import numpy as np
|
| 7 |
import imageio
|
| 8 |
|
| 9 |
-
|
| 10 |
-
|
| 11 |
|
| 12 |
from networks.generator import Generator
|
| 13 |
|
|
|
|
| 6 |
import numpy as np
|
| 7 |
import imageio
|
| 8 |
|
| 9 |
+
extensions_dir = "./torch_extension/"
|
| 10 |
+
os.environ["TORCH_EXTENSIONS_DIR"] = extensions_dir
|
| 11 |
|
| 12 |
from networks.generator import Generator
|
| 13 |
|