Spaces:
Sleeping
Sleeping
Commit ·
9cf5888
1
Parent(s): d6910f6
Updated
Browse files- {assets → frontend/public/assets}/logo.png +0 -0
- main.py +0 -3
{assets → frontend/public/assets}/logo.png
RENAMED
|
File without changes
|
main.py
CHANGED
|
@@ -70,9 +70,6 @@ async def chat_endpoint(request: ChatRequest):
|
|
| 70 |
|
| 71 |
return StreamingResponse(event_generator(), media_type="text/event-stream")
|
| 72 |
|
| 73 |
-
# Mount assets and frontend
|
| 74 |
-
if os.path.exists("./assets"):
|
| 75 |
-
app.mount("/assets", StaticFiles(directory="assets"), name="assets")
|
| 76 |
|
| 77 |
# The frontend should be built and placed in a 'dist' folder or served directly if in dev
|
| 78 |
if os.path.exists("./frontend/dist"):
|
|
|
|
| 70 |
|
| 71 |
return StreamingResponse(event_generator(), media_type="text/event-stream")
|
| 72 |
|
|
|
|
|
|
|
|
|
|
| 73 |
|
| 74 |
# The frontend should be built and placed in a 'dist' folder or served directly if in dev
|
| 75 |
if os.path.exists("./frontend/dist"):
|