|
@@ -55,9 +55,9 @@ class anchor_request(BaseModel):
|
|
|
async def root():
|
|
|
return {"message": "Hello, this is index"}
|
|
|
|
|
|
-@app.post("/index")
|
|
|
+@app.get("/index")
|
|
|
async def input_table():
|
|
|
- return templates.TemplateResponse("index2.html")
|
|
|
+ return FileResponse('index2.html')
|
|
|
|
|
|
@app.post("/make_video_req")
|
|
|
async def make_video_req(req:request):
|