diff --git a/README.md b/README.md index c0b1d02..d2f96a3 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,9 @@ A streaming digital human based on the Ernerf model, realize audio video synchronous dialogue. It can basically achieve commercial effects. 基于ernerf模型的流式数字人,实现音视频同步对话。基本可以达到商用效果 + ## Installation diff --git a/assets/demo.mp4 b/assets/demo.mp4 new file mode 100644 index 0000000..b2be78f Binary files /dev/null and b/assets/demo.mp4 differ diff --git a/nerfreal.py b/nerfreal.py index 9a400b7..81e924d 100644 --- a/nerfreal.py +++ b/nerfreal.py @@ -64,7 +64,7 @@ class NeRFReal: sc.stream_height = self.H sc.stream_fps = fps sc.stream_bitrate = 1000000 - sc.stream_profile = 'main' #'high444' # 'main' + sc.stream_profile = 'baseline' #'high444' # 'main' sc.audio_channel = 1 sc.sample_rate = 16000 sc.stream_server = opt.push_url @@ -178,7 +178,7 @@ class NeRFReal: for _ in range(2): self.asr.run_step() self.test_step() - delay = 0.04 - (time.time() - t) #40ms - if delay > 0: - time.sleep(delay) + # delay = 0.04 - (time.time() - t) #40ms + # if delay > 0: + # time.sleep(delay) \ No newline at end of file