From 062eb8ff5ae4fde12d9551c2d6f1b64bf39571bd Mon Sep 17 00:00:00 2001
From: yhliang <429259365@qq.com>
Date: 星期四, 11 五月 2023 15:54:02 +0800
Subject: [PATCH] update saasr egs and m2met docs
---
funasr/fileio/datadir_writer.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/funasr/fileio/datadir_writer.py b/funasr/fileio/datadir_writer.py
index bafdf98..67ec61c 100644
--- a/funasr/fileio/datadir_writer.py
+++ b/funasr/fileio/datadir_writer.py
@@ -57,6 +57,7 @@
self.keys.add(key)
self.fd.write(f"{key} {value}\n")
+ self.fd.flush()
def __exit__(self, exc_type, exc_val, exc_tb):
self.close()
--
Gitblit v1.9.1