Bir necha usullar mavjud. Eng oson usul - siz xizmat ko'rsatmoqchi bo'lgan fayllar bilan statik papkani o'rnatish: `` python fastapi import FastAPI fastapi.staticfiles import StaticFiles app = FastAPI() @app.get("/") async def root: return {"message": "<h1>Salom, dunyo!</h1>"} app.mount("/media", StaticFiles(directory="media"), name="media") ``` Bu "media" papkasidagi mahalliy fayllarni 'http://localhost:8000/media' url yo'nalishidan xizmat qiladi. Shunday qilib,'movie.mp4' '/media/movie.mp4' bo'ladi. Agar siz uy media serverini qidirsangiz, Plex yoki JellyFin kabi bir nechta
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence