SANJAYV10 commited on
Commit
6d489a6
1 Parent(s): a5aed99

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -1,4 +1,6 @@
1
- import fastapifrom transformers import pipelineimport h5py
 
 
2
 
3
  # Load the model from the h5 file
4
  model = h5py.File("model_finetuned.h5", "r")["model"]
 
1
+ import fastapi
2
+ from transformers import pipeline
3
+ import h5py
4
 
5
  # Load the model from the h5 file
6
  model = h5py.File("model_finetuned.h5", "r")["model"]