Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
import
|
|
|
|
|
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"]
|