We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02b70b4 commit 09de5eeCopy full SHA for 09de5ee
Backend/texttoAIvideo.py
@@ -1,6 +1,8 @@
1
-from fastapi import APIRouter
+from fastapi import FastAPI, APIRouter
2
from fastapi.responses import JSONResponse
3
+from fastapi.middleware.cors import CORSMiddleware
4
5
+app = FastAPI()
6
router = APIRouter()
7
8
@router.get('/api6')
0 commit comments