Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files- sam_gui.py +1 -1
sam_gui.py
CHANGED
@@ -834,7 +834,7 @@ def create_interface():
|
|
834 |
|
835 |
# Make download visible and return file
|
836 |
download_status = f"✅ {local_save_status}\n📥 Download ready: {download_format} format"
|
837 |
-
return download_status, download_path
|
838 |
|
839 |
except Exception as e:
|
840 |
return f"❌ Save/download failed: {str(e)}", None
|
|
|
834 |
|
835 |
# Make download visible and return file
|
836 |
download_status = f"✅ {local_save_status}\n📥 Download ready: {download_format} format"
|
837 |
+
return download_status, gr.File(value=download_path, visible=True)
|
838 |
|
839 |
except Exception as e:
|
840 |
return f"❌ Save/download failed: {str(e)}", None
|