Neo2902 commited on
Commit ·
7eadebc
1
Parent(s): f6f0135
Projet complet avec chunking, extract_playlist et youtube_search
Browse files
app.py
CHANGED
|
@@ -11,12 +11,12 @@ import chunking
|
|
| 11 |
import extract_playlist_playwright
|
| 12 |
import youtube_search
|
| 13 |
|
| 14 |
-
from fastapi import FastAPI
|
| 15 |
|
| 16 |
app = FastAPI()
|
| 17 |
|
| 18 |
@app.get("/")
|
| 19 |
-
async def root(logs: str =
|
| 20 |
if logs == "container":
|
| 21 |
return {"message": "Logs container requested (placeholder)"}
|
| 22 |
return {"message": "API active et prête à recevoir des demandes sur /extract"}
|
|
|
|
| 11 |
import extract_playlist_playwright
|
| 12 |
import youtube_search
|
| 13 |
|
| 14 |
+
from fastapi import FastAPI
|
| 15 |
|
| 16 |
app = FastAPI()
|
| 17 |
|
| 18 |
@app.get("/")
|
| 19 |
+
async def root(logs: str = None):
|
| 20 |
if logs == "container":
|
| 21 |
return {"message": "Logs container requested (placeholder)"}
|
| 22 |
return {"message": "API active et prête à recevoir des demandes sur /extract"}
|