Spaces:
Runtime error
Runtime error
CaesarCloudSync
commited on
Commit
·
b2e71f3
1
Parent(s):
2d6e5da
CaesarAILogo
Browse files- CaesarAILogo.png +0 -0
- main.py +3 -0
CaesarAILogo.png
ADDED
|
main.py
CHANGED
|
@@ -47,6 +47,9 @@ pytesseract.pytesseract.tesseract_cmd = '/usr/bin/tesseract'
|
|
| 47 |
@app.get("/")
|
| 48 |
def caesaraihome():
|
| 49 |
return "Welcome to CaesarAI's API's and CaesarAINL."
|
|
|
|
|
|
|
|
|
|
| 50 |
|
| 51 |
@app.websocket("/caesarobjectdetectws")
|
| 52 |
async def caesarobjectdetectws(websocket: WebSocket):
|
|
|
|
| 47 |
@app.get("/")
|
| 48 |
def caesaraihome():
|
| 49 |
return "Welcome to CaesarAI's API's and CaesarAINL."
|
| 50 |
+
@app.get("/caesarailogo")
|
| 51 |
+
def caesarailogo():
|
| 52 |
+
return FileResponse(f"{CURRENT_DIR}/CaesarAILogo.png")
|
| 53 |
|
| 54 |
@app.websocket("/caesarobjectdetectws")
|
| 55 |
async def caesarobjectdetectws(websocket: WebSocket):
|