PCelia commited on
Commit
c13b888
·
verified ·
1 Parent(s): cd317bc

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. .python-version +1 -0
  2. app/main.py +3 -1
  3. main.py +6 -0
.python-version ADDED
@@ -0,0 +1 @@
 
 
1
+ 3.12
app/main.py CHANGED
@@ -64,7 +64,9 @@ app = FastAPI(title="API Futurisys")
64
  def read_root():
65
  return {
66
  "message": "Bienvenue dans l'API Futurisys",
67
- "documentation": "/docs"
 
 
68
  }
69
 
70
  @app.get("/threshold")
 
64
  def read_root():
65
  return {
66
  "message": "Bienvenue dans l'API Futurisys",
67
+ "documentation": "/docs",
68
+ "info": "Accedez au Swagger : https://huggingface.co/spaces/PCelia/futurisys-api"
69
+
70
  }
71
 
72
  @app.get("/threshold")
main.py ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ def main():
2
+ print("Hello from ml-futurisys!")
3
+
4
+
5
+ if __name__ == "__main__":
6
+ main()