ASI-Engineer commited on
Commit
b144810
·
verified ·
1 Parent(s): 0822174

Upload folder using huggingface_hub

Browse files
Files changed (2) hide show
  1. README.md +6 -3
  2. requirements.txt +1 -3
README.md CHANGED
@@ -64,12 +64,15 @@ poetry run python main.py
64
  poetry run python app.py
65
  ```
66
 
67
- ### Export pour HF Spaces
68
 
69
- HuggingFace Spaces nécessite un `requirements.txt`. Pour le générer depuis Poetry :
70
 
 
 
 
71
  ```bash
72
- ./scripts/export_requirements.sh
73
  ```
74
 
75
  ### Tests et Linting
 
64
  poetry run python app.py
65
  ```
66
 
67
+ ### Requirements.txt (automatique)
68
 
69
+ Le fichier `requirements.txt` est **généré automatiquement** par le CI/CD lors des déploiements sur HF Spaces.
70
 
71
+ **Vous n'avez rien à faire !** Modifiez juste `pyproject.toml` et le CI/CD s'occupe du reste.
72
+
73
+ Si vous voulez le générer manuellement :
74
  ```bash
75
+ poetry export -f requirements.txt --output requirements.txt --without-hashes
76
  ```
77
 
78
  ### Tests et Linting
requirements.txt CHANGED
@@ -1,6 +1,4 @@
1
- # This file is auto-generated from pyproject.toml using Poetry
2
- # To update: run ./scripts/export_requirements.sh
3
-
4
  aiofiles==23.2.1 ; python_version >= "3.12" and python_version < "4.0"
5
  alembic==1.17.2 ; python_version >= "3.12" and python_version < "4.0"
6
  annotated-doc==0.0.4 ; python_version >= "3.12" and python_version < "4.0"
 
1
+ # Auto-generated from pyproject.toml by CI/CD
 
 
2
  aiofiles==23.2.1 ; python_version >= "3.12" and python_version < "4.0"
3
  alembic==1.17.2 ; python_version >= "3.12" and python_version < "4.0"
4
  annotated-doc==0.0.4 ; python_version >= "3.12" and python_version < "4.0"