torch hf_hub_download huggingface_hub HF_TOKEN gradio os repo_id re pickle trasnform pyngrok modelo modelo_path # Instalación de dependencias !pip install streamlit pandas torch huggingface_hub pyngrok from huggingface_hub import hf_hub_download # Import hf_hub_download modelo_path = hf_hub_download( repo_id="ElDoctor/contractor", filename="modelo.pkl", token=os.environ["HF_TOKEN"] )