Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -27,7 +27,10 @@ import time
|
|
27 |
import datetime
|
28 |
from gradio import themes
|
29 |
from image_gen_aux import UpscaleWithModel
|
30 |
-
|
|
|
|
|
|
|
31 |
|
32 |
torch.backends.cuda.matmul.allow_tf32 = False
|
33 |
torch.backends.cuda.matmul.allow_bf16_reduced_precision_reduction = False
|
|
|
27 |
import datetime
|
28 |
from gradio import themes
|
29 |
from image_gen_aux import UpscaleWithModel
|
30 |
+
|
31 |
+
#from diffusers.models.attention_processor import AttnProcessor2_0
|
32 |
+
|
33 |
+
from free_lunch_utils import register_free_upblock2d, register_free_crossattn_upblock2d
|
34 |
|
35 |
torch.backends.cuda.matmul.allow_tf32 = False
|
36 |
torch.backends.cuda.matmul.allow_bf16_reduced_precision_reduction = False
|