manikandan-n-07 commited on
Commit
02fbe0a
·
1 Parent(s): 77e15e7

Final: inclusive logs for Neural Console in HF

Browse files
Files changed (3) hide show
  1. .dockerignore +0 -1
  2. server/app.py +1 -1
  3. server/static/index.html +1 -1
.dockerignore CHANGED
@@ -8,7 +8,6 @@ __pycache__/
8
  .pytest_cache/
9
  .coverage
10
  htmlcov/
11
- data/*.log
12
  data/memory.json
13
  tmp/
14
  *.egg-info/
 
8
  .pytest_cache/
9
  .coverage
10
  htmlcov/
 
11
  data/memory.json
12
  tmp/
13
  *.egg-info/
server/app.py CHANGED
@@ -113,7 +113,7 @@ async def list_tasks():
113
 
114
  @app.get("/logs")
115
  async def get_logs():
116
- log_path = Path("data/train.log")
117
  if not log_path.exists():
118
  return {"logs": []}
119
  with open(log_path, "r") as f:
 
113
 
114
  @app.get("/logs")
115
  async def get_logs():
116
+ log_path = BASE_DIR / "data" / "train.log"
117
  if not log_path.exists():
118
  return {"logs": []}
119
  with open(log_path, "r") as f:
server/static/index.html CHANGED
@@ -1395,7 +1395,7 @@
1395
  <!-- Neural Telemetry Console (Moved from center) -->
1396
  <div class="panel">
1397
  <div class="panel-inner">
1398
- <div class="panel-title">NEURAL_ENGINE_SYSTEM_CONSOLE</div>
1399
  <div class="console" id="neuralConsole" style="height:160px;">
1400
  <div class="console-line info">> Neural link active.</div>
1401
  </div>
 
1395
  <!-- Neural Telemetry Console (Moved from center) -->
1396
  <div class="panel">
1397
  <div class="panel-inner">
1398
+ <div class="panel-title">NEURAL_ENGINE_SYSTEM</div>
1399
  <div class="console" id="neuralConsole" style="height:160px;">
1400
  <div class="console-line info">> Neural link active.</div>
1401
  </div>