Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoOMaia committed Nov 26, 2023
1 parent ef30986 commit 1e7ca24
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Rodar ``server.py``, depois rodar ``client.py`` desse jeito: ``python client.py
## Usando Kubernetes
- Deletar servicos existentes:
```
kubectl delete deploy deployment-recomender && kubectl delete service playlist-recommender-ml && kubectl delete pvc project-volume-leonardomaia
kubectl delete deploy deployment-recomender && kubectl delete service playlist-recommender-ml && kubectl delete pvc project2-pv-leonardomaia
```
- Criar volume/deployment/service:
```
Expand Down
8 changes: 4 additions & 4 deletions Train_model/ml.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ def get_rules(self):
self.rules = association_rules(self.freq, metric="lift", min_threshold=min_threshold)
self.rules.to_pickle(RULES_PATH)

# # Keep the container running forever
# while True:
# print("Running...")
# time.sleep(3)
# Keep the container running forever
while True:
print("Running...")
time.sleep(3)


if __name__ == '__main__':
Expand Down

0 comments on commit 1e7ca24

Please sign in to comment.