Spaces:
Runtime error
Runtime error
Update app.py
Browse files240 unmodified lines241242243244245246247248249250251240 unmodified lines# download the model:from huggingface_hub import snapshot_downloadsnapshot_download(repo_id="Alesteba/your-model-name", local_dir="./nerf")# load the pre-trained modelnerf_loaded = tf.keras.models.load_model("nerf", compile=False)# set the values of r theta phir = 4.0240 unmodified lines241242243244245246247248249250251252253254255240 unmodified lines# download the model:# from huggingface_hub import snapshot_download# snapshot_download(repo_id="Alesteba/your-model-name", local_dir="./nerf")from huggingface_hub import from_pretrained_kerasnerf_loaded = from_pretrained_keras("Alesteba/NeRF_ficus")# load the pre-trained model# nerf_loaded = tf.keras.models.load_model("nerf", compile=False)# set the values of r theta phir = 4.0
app.py+7-3