global down_path
down_path = os.path.join(os.path.expanduser('~'), 'TempDownload')
if not os.path.exists(down_path):
os.mkdir(down_path) # 如果不存在这个logs文件夹,就自动创建一个
filename = os.path.join(down_path, localnow+'ssc.tif')
geemap.ee_export_image(ssc_intial, filename=filename, scale=110, region=roi, file_per_band=False)
When I clicked the button to download the file, it didn't work. But when I run it via a local host, it works perfectly