Spaces:
Sleeping
Sleeping
Fix: delay spaces import until after GPU functions are defined
Browse files- gradio_app.py +1 -1
gradio_app.py
CHANGED
|
@@ -64,7 +64,7 @@ if ENV == 'Huggingface':
|
|
| 64 |
This setup assumes the script is running in the Huggingface environment
|
| 65 |
with the specified directory structure.
|
| 66 |
"""
|
| 67 |
-
import os,
|
| 68 |
|
| 69 |
print("Installing custom_rasterizer...")
|
| 70 |
subprocess.run(
|
|
|
|
| 64 |
This setup assumes the script is running in the Huggingface environment
|
| 65 |
with the specified directory structure.
|
| 66 |
"""
|
| 67 |
+
import os, subprocess, sys, shlex
|
| 68 |
|
| 69 |
print("Installing custom_rasterizer...")
|
| 70 |
subprocess.run(
|