Ghaithhmz commited on
Commit
2dae2fb
·
1 Parent(s): 28a6ef1

Add model with Git LFS

Browse files
Files changed (3) hide show
  1. .gitattributes +2 -0
  2. .gitignore +1 -0
  3. deploy_to_hf.bat +29 -0
.gitattributes CHANGED
@@ -1 +1,3 @@
1
  *.keras filter=lfs diff=lfs merge=lfs -text
 
 
 
1
  *.keras filter=lfs diff=lfs merge=lfs -text
2
+ *.h5 filter=lfs diff=lfs merge=lfs -text
3
+ *.pb filter=lfs diff=lfs merge=lfs -text
.gitignore CHANGED
@@ -1,2 +1,3 @@
1
  venv/
 
2
 
 
1
  venv/
2
+ __pycache__/
3
 
deploy_to_hf.bat ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @echo off
2
+ echo Configuring Git LFS for Hugging Face deployment...
3
+
4
+ REM Remove GitHub remote if it exists
5
+ git remote remove origin 2>nul
6
+
7
+ REM Add Hugging Face remote
8
+ git remote add origin https://huggingface.co/spaces/Ghaithhmz/aging_score_autoencoder_agent
9
+
10
+ REM Stage all files
11
+ git add .gitattributes
12
+ git add models/aging_score_autoencoder.keras
13
+ git add .
14
+
15
+ REM Commit
16
+ git commit -m "Deploy with Git LFS support"
17
+
18
+ REM Push to Hugging Face
19
+ echo.
20
+ echo Ready to push to Hugging Face Spaces.
21
+ echo You will be prompted for your Hugging Face token.
22
+ echo.
23
+ pause
24
+
25
+ git push --force origin main
26
+
27
+ echo.
28
+ echo Deployment complete!
29
+ pause