rohanshaw commited on
Commit
c653641
1 Parent(s): 4deb4e8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -1,11 +1,14 @@
1
  import tensorflow as tf
2
- from tensorflow.keras.models import load_model
3
  from pydantic import BaseModel
4
  from typing import List
5
  from fastapi import FastAPI
6
  import numpy as np
7
  import requests
8
  from fastapi.middleware.cors import CORSMiddleware
 
 
 
 
9
 
10
 
11
  model = load_model('models/big5_gru.h5')
 
1
  import tensorflow as tf
 
2
  from pydantic import BaseModel
3
  from typing import List
4
  from fastapi import FastAPI
5
  import numpy as np
6
  import requests
7
  from fastapi.middleware.cors import CORSMiddleware
8
+ import pandas as pd
9
+ from sklearn.preprocessing import MinMaxScaler
10
+ from sklearn.cluster import KMeans
11
+ from keras.models import load_model
12
 
13
 
14
  model = load_model('models/big5_gru.h5')