Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -21,6 +21,7 @@ import datetime
|
|
21 |
from gradio import themes
|
22 |
from image_gen_aux import UpscaleWithModel
|
23 |
#from diffusers.models.attention_processor import AttnProcessor2_0
|
|
|
24 |
|
25 |
torch.backends.cuda.matmul.allow_tf32 = False
|
26 |
torch.backends.cuda.matmul.allow_bf16_reduced_precision_reduction = False
|
|
|
21 |
from gradio import themes
|
22 |
from image_gen_aux import UpscaleWithModel
|
23 |
#from diffusers.models.attention_processor import AttnProcessor2_0
|
24 |
+
from transformers import CLIPTextModelWithProjection, CLIPTextModel, CLIPTokenizer
|
25 |
|
26 |
torch.backends.cuda.matmul.allow_tf32 = False
|
27 |
torch.backends.cuda.matmul.allow_bf16_reduced_precision_reduction = False
|