This commit is contained in:
Navan Chauhan 2020-07-13 18:57:42 +05:30
commit 26f9c3053c
1 changed files with 3 additions and 1 deletions

4
api.py
View File

@ -17,7 +17,9 @@ def flask_main():
return f"Hello, {escape(name)} from Flask!" return f"Hello, {escape(name)} from Flask!"
""" """
app = FastAPI() app = FastAPI(title="Curie-API",
description="API for accessing Curie-Web.",
version="0.1",)
@app.get("/v1") @app.get("/v1")