GitLab CI commited on
Commit
e401010
·
1 Parent(s): 4b89cf9

Update game build from GitLab CI

Browse files
server/__main__.py CHANGED
@@ -69,21 +69,6 @@ def add_header(response: Response):
69
 
70
  @app.route("/")
71
  def serve_index():
72
- # Handle logs=container query parameter
73
- if request.args.get("logs") == "container":
74
- files = (
75
- os.listdir(app.static_folder) if os.path.exists(app.static_folder) else []
76
- )
77
- return jsonify(
78
- {
79
- "static_folder": app.static_folder,
80
- "exists": os.path.exists(app.static_folder),
81
- "files": files,
82
- "pwd": os.getcwd(),
83
- "user": os.getenv("USER"),
84
- }
85
- )
86
-
87
  try:
88
  response = send_from_directory(app.static_folder, "index.html")
89
  response.headers["Cross-Origin-Opener-Policy"] = "same-origin"
@@ -244,7 +229,7 @@ if __name__ == "__main__":
244
  # Start the audio transcriber thread
245
  transcribers = [
246
  AudioTranscriber(audio_queue, text_queue, device_index=i % num_devices)
247
- for i in range(4 if os.getenv("DEBUG") == "True" else 32)
248
  ]
249
  for transcriber in transcribers:
250
  transcriber.start()
 
69
 
70
  @app.route("/")
71
  def serve_index():
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
72
  try:
73
  response = send_from_directory(app.static_folder, "index.html")
74
  response.headers["Cross-Origin-Opener-Policy"] = "same-origin"
 
229
  # Start the audio transcriber thread
230
  transcribers = [
231
  AudioTranscriber(audio_queue, text_queue, device_index=i % num_devices)
232
+ for i in range(4 if os.getenv("DEBUG") == "True" else 40)
233
  ]
234
  for transcriber in transcribers:
235
  transcriber.start()
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":18582544,"index.wasm":35376909},"focusCanvas":true,"gdextensionLibs":[]};
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":18582576,"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
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c4943cf00faaf2cb36bb8dc04a2e626d42410a97c581c39d5fc54dad7b49eee1
3
- size 18582544
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:61e26e213b9fc4591f939923a24281b7c2d66f514e2652e0693347dc3f0d0dd7
3
+ size 18582576