Sebastian Kułaga commited on
Commit
cc07cb1
1 Parent(s): 3e4263c
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,11 +1,11 @@
1
  from fastapi import FastAPI
2
 
3
- from routers import distilbert
4
 
5
  # Create a new FastAPI app instance
6
  app = FastAPI()
7
 
8
- app.include_router(distilbert)
9
 
10
  @app.get("/")
11
  def greet_json():
 
1
  from fastapi import FastAPI
2
 
3
+ from routers.distilbert import predict
4
 
5
  # Create a new FastAPI app instance
6
  app = FastAPI()
7
 
8
+ app.include_router(predict)
9
 
10
  @app.get("/")
11
  def greet_json():