eienmojiki commited on
Commit
940a3bb
·
verified ·
1 Parent(s): 9cf8bbe

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -8
app.py CHANGED
@@ -1,8 +1,11 @@
1
- from huggingface_hub import InferenceClient
2
- from fastapi import FastAPI
3
-
4
- app = FastAPI()
5
-
6
- @app.get("/")
7
- async def root():
8
- return {"message": "Hello World"}
 
 
 
 
1
+ from huggingface_hub import InferenceClient
2
+ from fastapi import FastAPI
3
+ from routes import chatCompletion
4
+
5
+ app = FastAPI()
6
+
7
+ @app.get("/")
8
+ async def root():
9
+ return {"message": "Hello World"}
10
+
11
+ app.include_router(chatCompletion.router)