Update app.py
Browse files
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 |
-
|
17 |
-
|
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
|