# Save logs
# Save figures
# Save evaluation metrics
# ...

# Push to hub
return api.upload_folder(repo_id=repo_id, folder_path=tmpdir)
```  
This is of course only an example. If you are interested in more complex manipulations (delete remote files, upload
weights on the fly, persist weights locally, etc.) please refer to the [upload files](./upload) guide.