Spaces:
Running
Running
Update main.py
Browse files
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"
|