SperanzaMax commited on
Commit
f3f1910
·
verified ·
1 Parent(s): 9ecdd96

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -20,7 +20,7 @@ DB_PATH = "/tmp/cma_memory.db"
20
  vector_global = VectorEmocional(db_path=DB_PATH)
21
  modulador_global = ModuladorParametrico()
22
 
23
- @app.get("/")
24
  async def reach():
25
  return {"status": "Cortex-Nexus is Alive", "emotional_state": vector_global.obtener_estado()}
26
 
@@ -38,7 +38,7 @@ async def get_history():
38
  except Exception as e:
39
  return {"error": str(e)}
40
 
41
- @app.get("/dashboard", response_class=HTMLResponse)
42
  async def dashboard():
43
  html_content = """
44
  <!DOCTYPE html>
 
20
  vector_global = VectorEmocional(db_path=DB_PATH)
21
  modulador_global = ModuladorParametrico()
22
 
23
+ @app.get("/status")
24
  async def reach():
25
  return {"status": "Cortex-Nexus is Alive", "emotional_state": vector_global.obtener_estado()}
26
 
 
38
  except Exception as e:
39
  return {"error": str(e)}
40
 
41
+ @app.get("/", response_class=HTMLResponse)
42
  async def dashboard():
43
  html_content = """
44
  <!DOCTYPE html>