Srevarshan1502 commited on
Commit
a1f5def
·
verified ·
1 Parent(s): 81c8cf0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -489,12 +489,13 @@ app = FastAPI(
489
  version="1.0.0",
490
  )
491
 
 
492
  # Serve the HTML frontend
493
  @app.get("/", response_class=HTMLResponse)
494
  async def get_index():
495
  """Serves the interactive frontend."""
496
  # This assumes index.html is in the same directory as app.py
497
- [cite_start]# [cite: 9] Explicitly copy index.html to /app/index.html to avoid any ambiguity with '.'
498
  with open("index.html", "r") as f:
499
  return HTMLResponse(content=f.read())
500
 
 
489
  version="1.0.0",
490
  )
491
 
492
+ # Serve the HTML frontend
493
  # Serve the HTML frontend
494
  @app.get("/", response_class=HTMLResponse)
495
  async def get_index():
496
  """Serves the interactive frontend."""
497
  # This assumes index.html is in the same directory as app.py
498
+ # Explicitly copy index.html to /app/index.html to avoid any ambiguity with '.' [cite: 9]
499
  with open("index.html", "r") as f:
500
  return HTMLResponse(content=f.read())
501