Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -477,6 +477,7 @@ def nasa_sdo_images(obj,size,date1,date2):
|
|
| 477 |
|
| 478 |
file_name="DATE_TIME_SIZE_TOOL.jpg"
|
| 479 |
for link in sdo_urls:
|
|
|
|
| 480 |
#sdo_source_format = f"https://sdo.gsfc.nasa.gov/assets/img/browse/{in_year}/{in_month}/{in_day}/"
|
| 481 |
sdo_source_format = link
|
| 482 |
#get_url=sdo_source_format
|
|
@@ -511,7 +512,7 @@ def nasa_sdo_images(obj,size,date1,date2):
|
|
| 511 |
if int(ls[2]) == int(s):
|
| 512 |
out_box.append(f'{sdo_source_format}{href}')
|
| 513 |
html_in+=f'<div class="img_class_sdo"><a href="{sdo_source_format}{href}" target="_blank">{href}</a><br><img src={sdo_source_format}{href}></div>'
|
| 514 |
-
|
| 515 |
return html_in, out_box
|
| 516 |
|
| 517 |
def get_concat_h_cut(in1, in2):
|
|
|
|
| 477 |
|
| 478 |
file_name="DATE_TIME_SIZE_TOOL.jpg"
|
| 479 |
for link in sdo_urls:
|
| 480 |
+
print(link)
|
| 481 |
#sdo_source_format = f"https://sdo.gsfc.nasa.gov/assets/img/browse/{in_year}/{in_month}/{in_day}/"
|
| 482 |
sdo_source_format = link
|
| 483 |
#get_url=sdo_source_format
|
|
|
|
| 512 |
if int(ls[2]) == int(s):
|
| 513 |
out_box.append(f'{sdo_source_format}{href}')
|
| 514 |
html_in+=f'<div class="img_class_sdo"><a href="{sdo_source_format}{href}" target="_blank">{href}</a><br><img src={sdo_source_format}{href}></div>'
|
| 515 |
+
html_in+="</div>"
|
| 516 |
return html_in, out_box
|
| 517 |
|
| 518 |
def get_concat_h_cut(in1, in2):
|