Spaces:
Sleeping
Sleeping
Not save memory
Browse files
app.py
CHANGED
@@ -110,7 +110,7 @@ def load_ckpt(model_ckpt = "LAION-Glyph-10M-Epoch-5"):
|
|
110 |
allow_run_generation = False
|
111 |
return output_str, None, allow_run_generation
|
112 |
|
113 |
-
SAVE_MEMORY =
|
114 |
disable_verbosity()
|
115 |
if SAVE_MEMORY:
|
116 |
enable_sliced_attention()
|
|
|
110 |
allow_run_generation = False
|
111 |
return output_str, None, allow_run_generation
|
112 |
|
113 |
+
SAVE_MEMORY = False
|
114 |
disable_verbosity()
|
115 |
if SAVE_MEMORY:
|
116 |
enable_sliced_attention()
|