Spaces:
Runtime error
Runtime error
suneeln-duke
commited on
Commit
•
1c6eb74
1
Parent(s):
c26982a
Added API code
Browse files
main.py
CHANGED
@@ -12,7 +12,7 @@ import numpy as np
|
|
12 |
|
13 |
app = FastAPI()
|
14 |
|
15 |
-
model_path, token_path = '
|
16 |
|
17 |
model = load_model(model_path)
|
18 |
|
|
|
12 |
|
13 |
app = FastAPI()
|
14 |
|
15 |
+
model_path, token_path = 'model/nlp.h5', 'model/tokenizer.pkl'
|
16 |
|
17 |
model = load_model(model_path)
|
18 |
|