Moved frequently changed files to /dev/shm
This commit is contained in:
@@ -17,7 +17,7 @@ class MagicDoer:
|
||||
@classmethod
|
||||
def run_everything(cls, parameters: dict) -> dict:
|
||||
tag = parameters['tag']
|
||||
sample_file_handle, sample_file_path = tempfile.mkstemp(prefix=f"{tag}_", suffix=".wav")
|
||||
sample_file_handle, sample_file_path = tempfile.mkstemp(prefix=f"{tag}_", suffix=".wav", dir="/dev/shm")
|
||||
response = None
|
||||
try:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user