Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -7,13 +7,12 @@ import pickle
|
|
7 |
from tensorflow.keras.models import load_model
|
8 |
import os
|
9 |
|
10 |
-
os.system('wget -O model.h5 "https://drive.google.com/
|
11 |
-
os.system('wget -O model2.pkl "https://drive.google.com/
|
12 |
|
13 |
# Load the RGB to hyperspectral conversion model
|
14 |
#converion_model = load_model('/kaggle/input/convmo/Conversion_model.h5')
|
15 |
-
converion_model = tf.keras.models.load_model(
|
16 |
-
')
|
17 |
|
18 |
# Load the cancer classification model
|
19 |
#cancer_model = pickle.load(open("/kaggle/input/classi/ClassRF (1).pkl", "rb"))
|
|
|
7 |
from tensorflow.keras.models import load_model
|
8 |
import os
|
9 |
|
10 |
+
os.system('wget -O model.h5 "https://drive.google.com/u/0/uc?id=1UqXYR2e3c0VW8Ax4nYLvef7Vmlx3AEGi&export=download"')
|
11 |
+
os.system('wget -O model2.pkl "https://drive.google.com/u/0/uc?id=16FuBwWEhG7oHH2YGm8EkEDTbv6GSUbyg&export=download"')
|
12 |
|
13 |
# Load the RGB to hyperspectral conversion model
|
14 |
#converion_model = load_model('/kaggle/input/convmo/Conversion_model.h5')
|
15 |
+
converion_model = tf.keras.models.load_model("model.5")
|
|
|
16 |
|
17 |
# Load the cancer classification model
|
18 |
#cancer_model = pickle.load(open("/kaggle/input/classi/ClassRF (1).pkl", "rb"))
|