Spaces:
Runtime error
Runtime error
Update secure_memory.py
Browse files- secure_memory.py +2 -0
secure_memory.py
CHANGED
@@ -40,6 +40,8 @@ class SecureMemorySession:
|
|
40 |
|
41 |
# Save it as a Python file
|
42 |
memory_path = Path("/mnt/data/secure_memory.py")
|
|
|
43 |
memory_path.write_text(memory_isolation_code)
|
44 |
|
|
|
45 |
memory_path
|
|
|
40 |
|
41 |
# Save it as a Python file
|
42 |
memory_path = Path("/mnt/data/secure_memory.py")
|
43 |
+
memory_path.parent.mkdir(parents=True, exist_ok=True)
|
44 |
memory_path.write_text(memory_isolation_code)
|
45 |
|
46 |
+
|
47 |
memory_path
|