Plsek commited on
Commit
31764f2
·
1 Parent(s): 5bbb151

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -6
app.py CHANGED
@@ -8,13 +8,9 @@ from astropy.io import fits
8
  from astropy.wcs import WCS
9
  from astropy.nddata import Cutout2D, CCDData
10
 
11
- # Tensorflow
12
- from tensorflow.keras.models import load_model
13
- model = load_model("CADET.hdf5")
14
-
15
  # HuggingFace
16
- # from huggingface_hub import from_pretrained_keras
17
- # model = from_pretrained_keras("Plsek/CADET-v1")
18
 
19
  # Streamlit
20
  import streamlit as st
 
8
  from astropy.wcs import WCS
9
  from astropy.nddata import Cutout2D, CCDData
10
 
 
 
 
 
11
  # HuggingFace
12
+ from huggingface_hub import from_pretrained_keras
13
+ model = from_pretrained_keras("Plsek/CADET-v1")
14
 
15
  # Streamlit
16
  import streamlit as st