Demosthene-OR
commited on
Commit
•
1fcfbbe
1
Parent(s):
826a92d
Update main_dl.py
Browse files- main_dl.py +0 -2
main_dl.py
CHANGED
@@ -2,7 +2,6 @@ from fastapi import FastAPI, HTTPException, Header, Depends, Request, Response
|
|
2 |
from fastapi.responses import JSONResponse
|
3 |
from fastapi.security import HTTPBasic, HTTPBasicCredentials
|
4 |
from fastapi.exceptions import RequestValidationError
|
5 |
-
import asyncio
|
6 |
from typing import Optional, List
|
7 |
from pydantic import BaseModel, ValidationError
|
8 |
import pandas as pd
|
@@ -16,7 +15,6 @@ from tensorflow import keras
|
|
16 |
from keras_nlp.layers import TransformerEncoder
|
17 |
from tensorflow.keras import layers
|
18 |
from tensorflow.keras.utils import plot_model
|
19 |
-
import asyncio
|
20 |
|
21 |
api = FastAPI()
|
22 |
dataPath = "data"
|
|
|
2 |
from fastapi.responses import JSONResponse
|
3 |
from fastapi.security import HTTPBasic, HTTPBasicCredentials
|
4 |
from fastapi.exceptions import RequestValidationError
|
|
|
5 |
from typing import Optional, List
|
6 |
from pydantic import BaseModel, ValidationError
|
7 |
import pandas as pd
|
|
|
15 |
from keras_nlp.layers import TransformerEncoder
|
16 |
from tensorflow.keras import layers
|
17 |
from tensorflow.keras.utils import plot_model
|
|
|
18 |
|
19 |
api = FastAPI()
|
20 |
dataPath = "data"
|