SondosMB commited on
Commit
b79466b
1 Parent(s): 28e5e82

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -4
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/file/d/1UqXYR2e3c0VW8Ax4nYLvef7Vmlx3AEGi/view?usp=share_link')
11
- os.system('wget -O model2.pkl "https://drive.google.com/file/d/16FuBwWEhG7oHH2YGm8EkEDTbv6GSUbyg/view?usp=share_link')
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('wget -O model.h5 "https://drive.google.com/u/0/uc?id=1UqXYR2e3c0VW8Ax4nYLvef7Vmlx3AEGi&export=download"
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"))