2nzi commited on
Commit
d4fa0c5
·
1 Parent(s): f4bb7d1

update main

Browse files
Files changed (1) hide show
  1. main.py +7 -1
main.py CHANGED
@@ -41,7 +41,13 @@ class PredictionFeatures(BaseModel):
41
 
42
  @app.get("/", tags=["Introduction Endpoints"])
43
  async def index():
44
- return "Hello world! This `/` is the most simple and default endpoint. If you want to learn more, check out documentation of the API at `/docs`"
 
 
 
 
 
 
45
 
46
  @app.post("/predict", tags=["Machine Learning"])
47
  async def predict(predictionFeatures: PredictionFeatures):
 
41
 
42
  @app.get("/", tags=["Introduction Endpoints"])
43
  async def index():
44
+ return (
45
+ "Hello world! This `/` is the most simple and default endpoint. "
46
+ "If you want to learn more, check out documentation of the API at "
47
+ "<a href='/docs'>/docs</a> or "
48
+ "<a href='https://2nzi-getaroundapi.hf.space/docs' target='_blank'>external docs</a>."
49
+ )
50
+ # return "Hello world! This `/` is the most simple and default endpoint. If you want to learn more, check out documentation of the API at `/docs https://2nzi-getaroundapi.hf.space/docs`"
51
 
52
  @app.post("/predict", tags=["Machine Learning"])
53
  async def predict(predictionFeatures: PredictionFeatures):