ParthSadaria commited on
Commit
2c1c62a
·
verified ·
1 Parent(s): 02650d6

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -0
main.py CHANGED
@@ -27,6 +27,7 @@ class Payload(BaseModel):
27
  messages: list
28
  stream: bool
29
 
 
30
  async def root():
31
  # Open and read the content of index.html (in the same folder as the app)
32
  file_path = "index.html"
 
27
  messages: list
28
  stream: bool
29
 
30
+ @app.get("/", response_class=HTMLResponse)
31
  async def root():
32
  # Open and read the content of index.html (in the same folder as the app)
33
  file_path = "index.html"