yasserrmd commited on
Commit
c88bfae
·
verified ·
1 Parent(s): 1b4cab5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -27,12 +27,12 @@ class TextInput(BaseModel):
27
  @app.get("/")
28
  async def serve_homepage():
29
  """Serve the chat interface HTML."""
30
- with open("static/index.html", "r") as f:
31
  return Response(content=f.read(), media_type="text/html")
32
  @app.get("/conv/")
33
  async def serve_convpage():
34
  """Serve the chat interface HTML."""
35
- with open("static/conv.html", "r") as f:
36
  return Response(content=f.read(), media_type="text/html")
37
 
38
  @app.post("/stt/")
 
27
  @app.get("/")
28
  async def serve_homepage():
29
  """Serve the chat interface HTML."""
30
+ with open("static/conv.html", "r") as f:
31
  return Response(content=f.read(), media_type="text/html")
32
  @app.get("/conv/")
33
  async def serve_convpage():
34
  """Serve the chat interface HTML."""
35
+ with open("static/index.html", "r") as f:
36
  return Response(content=f.read(), media_type="text/html")
37
 
38
  @app.post("/stt/")