SANJAYV10 commited on
Commit
c2551f6
1 Parent(s): 1097038

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -2,6 +2,9 @@ import fastapi
2
  # from transformers import pipeline
3
  import h5py
4
  import keras
 
 
 
5
 
6
  # Load the model from the HDF5 file
7
  model = keras.models.load_model("model_finetuned.h5")
 
2
  # from transformers import pipeline
3
  import h5py
4
  import keras
5
+ from fastapi import FastAPI
6
+
7
+ app = FastAPI()
8
 
9
  # Load the model from the HDF5 file
10
  model = keras.models.load_model("model_finetuned.h5")