Update app.py
Browse files
app.py
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
# HuggingFace
|
| 2 |
from huggingface_hub import from_pretrained_keras
|
| 3 |
model = from_pretrained_keras("Plsek/CADET-v1")
|
| 4 |
|
|
@@ -151,11 +151,11 @@ with col:
|
|
| 151 |
|
| 152 |
_, col_1, col_2, _ = st.columns([bordersize, 2.5, 0.5, bordersize])
|
| 153 |
|
| 154 |
-
with
|
| 155 |
# Create file uploader widget
|
| 156 |
uploaded_file = st.file_uploader("Choose a FITS file", type=['fits'])
|
| 157 |
|
| 158 |
-
with
|
| 159 |
example = st.button("Example")
|
| 160 |
|
| 161 |
def change_state(b):
|
|
|
|
| 1 |
+
# HuggingFace Hub
|
| 2 |
from huggingface_hub import from_pretrained_keras
|
| 3 |
model = from_pretrained_keras("Plsek/CADET-v1")
|
| 4 |
|
|
|
|
| 151 |
|
| 152 |
_, col_1, col_2, _ = st.columns([bordersize, 2.5, 0.5, bordersize])
|
| 153 |
|
| 154 |
+
with col_1:
|
| 155 |
# Create file uploader widget
|
| 156 |
uploaded_file = st.file_uploader("Choose a FITS file", type=['fits'])
|
| 157 |
|
| 158 |
+
with col_2:
|
| 159 |
example = st.button("Example")
|
| 160 |
|
| 161 |
def change_state(b):
|