Spaces:
Running
on
A10G
Running
on
A10G
GitLab CI
commited on
Commit
·
f5202db
1
Parent(s):
24f78c1
Update game build from GitLab CI
Browse files
server/AudioTranscriber.py
CHANGED
@@ -31,7 +31,7 @@ class AudioTranscriber(threading.Thread):
|
|
31 |
self.audio_queue = audio_queue
|
32 |
self.action_queue = text_queue
|
33 |
self.daemon = True # Thread will exit when main program exits
|
34 |
-
self.max_buffer_size =
|
35 |
self.language = language
|
36 |
self.confidence_threshold = confidence_threshold
|
37 |
self.buffer: List[io.BytesIO] = []
|
|
|
31 |
self.audio_queue = audio_queue
|
32 |
self.action_queue = text_queue
|
33 |
self.daemon = True # Thread will exit when main program exits
|
34 |
+
self.max_buffer_size = 4
|
35 |
self.language = language
|
36 |
self.confidence_threshold = confidence_threshold
|
37 |
self.buffer: List[io.BytesIO] = []
|
server/static/godot/index.html
CHANGED
@@ -97,7 +97,7 @@ body {
|
|
97 |
|
98 |
<script src="index.js"></script>
|
99 |
<script>
|
100 |
-
const GODOT_CONFIG = {"args":[],"canvasResizePolicy":2,"ensureCrossOriginIsolationHeaders":false,"executable":"index","experimentalVK":false,"fileSizes":{"index.pck":
|
101 |
const GODOT_THREADS_ENABLED = false;
|
102 |
const engine = new Engine(GODOT_CONFIG);
|
103 |
|
|
|
97 |
|
98 |
<script src="index.js"></script>
|
99 |
<script>
|
100 |
+
const GODOT_CONFIG = {"args":[],"canvasResizePolicy":2,"ensureCrossOriginIsolationHeaders":false,"executable":"index","experimentalVK":false,"fileSizes":{"index.pck":870464,"index.wasm":35376909},"focusCanvas":true,"gdextensionLibs":[]};
|
101 |
const GODOT_THREADS_ENABLED = false;
|
102 |
const engine = new Engine(GODOT_CONFIG);
|
103 |
|
server/static/godot/index.pck
CHANGED
Binary files a/server/static/godot/index.pck and b/server/static/godot/index.pck differ
|
|
server/static/index.html
CHANGED
@@ -114,7 +114,7 @@
|
|
114 |
}
|
115 |
|
116 |
// Start recording in intervals
|
117 |
-
const chunkInterval =
|
118 |
setInterval(() => {
|
119 |
if (mediaRecorder.state === 'recording') {
|
120 |
mediaRecorder.stop()
|
|
|
114 |
}
|
115 |
|
116 |
// Start recording in intervals
|
117 |
+
const chunkInterval = 700 // Chunk duration in milliseconds
|
118 |
setInterval(() => {
|
119 |
if (mediaRecorder.state === 'recording') {
|
120 |
mediaRecorder.stop()
|