diff --git a/app/main.py b/app/main.py index c2f7e2f..99b498b 100644 --- a/app/main.py +++ b/app/main.py @@ -11,5 +11,9 @@ def file_form(request: Request): return templates.TemplateResponse('index.html', context={'request': request}) +@app.get('/play') +def play_form(request:Request) : + return templates.TemplateResponse('play.html', context = {'request': request}) + if __name__ == '__main__': - uvicorn.run("main:app", host="0.0.0.0", port=8000, reload=True) \ No newline at end of file + uvicorn.run("main:app", host="0.0.0.0", port=8001, reload=True) \ No newline at end of file diff --git a/app/templates/play.html b/app/templates/play.html new file mode 100644 index 0000000..c898909 --- /dev/null +++ b/app/templates/play.html @@ -0,0 +1,160 @@ + + +
+ + + + + +