Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ from PIL import Image
|
|
5 |
from huggingface_hub import hf_hub_download
|
6 |
from safetensors.torch import load_file
|
7 |
import os
|
8 |
-
os.environ['CUDA_LAUNCH_BLOCKING'] = 1
|
9 |
|
10 |
|
11 |
def convert_safetensors_to_bin(pipeline, state_dict, alpha = 0.4):
|
|
|
5 |
from huggingface_hub import hf_hub_download
|
6 |
from safetensors.torch import load_file
|
7 |
import os
|
8 |
+
os.environ['CUDA_LAUNCH_BLOCKING'] = '1'
|
9 |
|
10 |
|
11 |
def convert_safetensors_to_bin(pipeline, state_dict, alpha = 0.4):
|