Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -217,17 +217,20 @@ def make_nasa_soho_videos():
|
|
217 |
return html_out
|
218 |
|
219 |
def make_nasa_soho_images(inp_src: list):
|
220 |
-
html_out=f"<style>{css}</style><div class='img_box_soho'>"
|
221 |
for ea in inp_src:
|
222 |
file_name=ea['source']
|
223 |
html_out+=f'<div class="img_class_soho"><img src="{file_name}"></div>'
|
224 |
-
html_out+='</div>'
|
225 |
#html_out+=html_in
|
226 |
return html_out
|
227 |
def make_nasa_soho_image_trigger():
|
228 |
-
html_in =
|
|
|
|
|
229 |
html_in+= make_nasa_soho_images(sdo_aia_latest)
|
230 |
#html_in+= make_nasa_soho_videos()
|
|
|
231 |
return html_in
|
232 |
def run():
|
233 |
out=make_tree()
|
|
|
217 |
return html_out
|
218 |
|
219 |
def make_nasa_soho_images(inp_src: list):
|
220 |
+
#html_out=f"<style>{css}</style><div class='img_box_soho'>"
|
221 |
for ea in inp_src:
|
222 |
file_name=ea['source']
|
223 |
html_out+=f'<div class="img_class_soho"><img src="{file_name}"></div>'
|
224 |
+
#html_out+='</div>'
|
225 |
#html_out+=html_in
|
226 |
return html_out
|
227 |
def make_nasa_soho_image_trigger():
|
228 |
+
html_in=f"<style>{css}</style><div class='img_box_soho'>"
|
229 |
+
|
230 |
+
html_in+= make_nasa_soho_images(nasa_images)
|
231 |
html_in+= make_nasa_soho_images(sdo_aia_latest)
|
232 |
#html_in+= make_nasa_soho_videos()
|
233 |
+
html_in+="</div>"
|
234 |
return html_in
|
235 |
def run():
|
236 |
out=make_tree()
|