Spaces:
Sleeping
Sleeping
Sebastian Kułaga
commited on
Commit
•
cc07cb1
1
Parent(s):
3e4263c
app fix
Browse files
app.py
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
from fastapi import FastAPI
|
2 |
|
3 |
-
from routers import
|
4 |
|
5 |
# Create a new FastAPI app instance
|
6 |
app = FastAPI()
|
7 |
|
8 |
-
app.include_router(
|
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():
|