Spaces:
Sleeping
Sleeping
File size: 413 Bytes
173ba95 | 1 2 3 4 5 6 7 8 9 10 11 12 | import shutil
# Chemin complet du modèle que tu veux exporter
source_path = "mlruns/181198585705168272/models/m-ad163c4e6fa94a90ad9d38f10f938577/artifacts"
# Destination où tu veux sauvegarder le modèle “en dur”
destination_path = "./exported_model"
# Copie tout le dossier
shutil.copytree(source_path, destination_path, dirs_exist_ok=True)
print(f"✅ Modèle exporté en dur dans {destination_path}") |