Update app.py
Browse files
app.py
CHANGED
@@ -1,3 +1,7 @@
|
|
|
|
|
|
|
|
|
|
1 |
# Basic libraries
|
2 |
import numpy as np
|
3 |
import matplotlib.pyplot as plt
|
@@ -10,10 +14,6 @@ from astropy.nddata import Cutout2D, CCDData
|
|
10 |
from astropy.convolution import Gaussian2DKernel as Gauss
|
11 |
from astropy.convolution import convolve
|
12 |
|
13 |
-
# HuggingFace
|
14 |
-
from huggingface_hub import from_pretrained_keras
|
15 |
-
model = from_pretrained_keras("Plsek/CADET-v1")
|
16 |
-
|
17 |
# Streamlit
|
18 |
import streamlit as st
|
19 |
st.set_option('deprecation.showPyplotGlobalUse', False)
|
|
|
1 |
+
# HuggingFace
|
2 |
+
from huggingface_hub import from_pretrained_keras
|
3 |
+
model = from_pretrained_keras("Plsek/CADET-v1")
|
4 |
+
|
5 |
# Basic libraries
|
6 |
import numpy as np
|
7 |
import matplotlib.pyplot as plt
|
|
|
14 |
from astropy.convolution import Gaussian2DKernel as Gauss
|
15 |
from astropy.convolution import convolve
|
16 |
|
|
|
|
|
|
|
|
|
17 |
# Streamlit
|
18 |
import streamlit as st
|
19 |
st.set_option('deprecation.showPyplotGlobalUse', False)
|