Spaces:
Running
on
A10G
Running
on
A10G
GitLab CI
commited on
Commit
·
f6ff669
1
Parent(s):
40d0c4d
Update game build from GitLab CI
Browse files- README.md +1 -0
- server/TextFilterer.py +2 -1
- server/__main__.py +1 -0
- server/static/godot/index.html +1 -1
- server/static/godot/index.pck +2 -2
- server/static/godot/index.service.worker.js +1 -1
README.md
CHANGED
@@ -5,6 +5,7 @@ colorFrom: purple
|
|
5 |
colorTo: gray
|
6 |
sdk: docker
|
7 |
app_port: 7860
|
|
|
8 |
custom_headers:
|
9 |
cross-origin-embedder-policy: require-corp
|
10 |
cross-origin-opener-policy: same-origin
|
|
|
5 |
colorTo: gray
|
6 |
sdk: docker
|
7 |
app_port: 7860
|
8 |
+
short_description: Watch your baby during a remote call with your boss
|
9 |
custom_headers:
|
10 |
cross-origin-embedder-policy: require-corp
|
11 |
cross-origin-opener-policy: same-origin
|
server/TextFilterer.py
CHANGED
@@ -39,7 +39,8 @@ class TextFilterer(Thread):
|
|
39 |
_ = self.text_buffers[session_id].pop(0)
|
40 |
|
41 |
candidate = self.text_buffers[session_id][-2]
|
42 |
-
|
|
|
43 |
|
44 |
if (
|
45 |
len(self.text_buffers[session_id][-3])
|
|
|
39 |
_ = self.text_buffers[session_id].pop(0)
|
40 |
|
41 |
candidate = self.text_buffers[session_id][-2]
|
42 |
+
if candidate != "":
|
43 |
+
print(f"Candidate: {candidate}")
|
44 |
|
45 |
if (
|
46 |
len(self.text_buffers[session_id][-3])
|
server/__main__.py
CHANGED
@@ -216,6 +216,7 @@ class ActionConsumer:
|
|
216 |
action, token = self.action_queue.get()
|
217 |
with action_storage_lock:
|
218 |
if token not in action_storage:
|
|
|
219 |
action_storage[token] = []
|
220 |
current_actions = action_storage[token]
|
221 |
current_actions.append(action)
|
|
|
216 |
action, token = self.action_queue.get()
|
217 |
with action_storage_lock:
|
218 |
if token not in action_storage:
|
219 |
+
logger.info(f"Creating new action storage for token: {token}")
|
220 |
action_storage[token] = []
|
221 |
current_actions = action_storage[token]
|
222 |
current_actions.append(action)
|
server/static/godot/index.html
CHANGED
@@ -98,7 +98,7 @@ body {
|
|
98 |
|
99 |
<script src="index.js"></script>
|
100 |
<script>
|
101 |
-
const GODOT_CONFIG = {"args":[],"canvasResizePolicy":2,"ensureCrossOriginIsolationHeaders":false,"executable":"index","experimentalVK":false,"fileSizes":{"index.pck":
|
102 |
const GODOT_THREADS_ENABLED = false;
|
103 |
const engine = new Engine(GODOT_CONFIG);
|
104 |
|
|
|
98 |
|
99 |
<script src="index.js"></script>
|
100 |
<script>
|
101 |
+
const GODOT_CONFIG = {"args":[],"canvasResizePolicy":2,"ensureCrossOriginIsolationHeaders":false,"executable":"index","experimentalVK":false,"fileSizes":{"index.pck":23852144,"index.wasm":35376909},"focusCanvas":true,"gdextensionLibs":[],"serviceWorker":"index.service.worker.js"};
|
102 |
const GODOT_THREADS_ENABLED = false;
|
103 |
const engine = new Engine(GODOT_CONFIG);
|
104 |
|
server/static/godot/index.pck
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0c2512354d5c54088ece8692282a3fec0a981dcc37e49b99c0c1f92609c60063
|
3 |
+
size 23852144
|
server/static/godot/index.service.worker.js
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
// Incrementing CACHE_VERSION will kick off the install event and force
|
5 |
// previously cached resources to be updated from the network.
|
6 |
/** @type {string} */
|
7 |
-
const CACHE_VERSION = '
|
8 |
/** @type {string} */
|
9 |
const CACHE_PREFIX = 'Magame-sw-cache-';
|
10 |
const CACHE_NAME = CACHE_PREFIX + CACHE_VERSION;
|
|
|
4 |
// Incrementing CACHE_VERSION will kick off the install event and force
|
5 |
// previously cached resources to be updated from the network.
|
6 |
/** @type {string} */
|
7 |
+
const CACHE_VERSION = '1738100771|11338430';
|
8 |
/** @type {string} */
|
9 |
const CACHE_PREFIX = 'Magame-sw-cache-';
|
10 |
const CACHE_NAME = CACHE_PREFIX + CACHE_VERSION;
|