marta-marta commited on
Commit
18fd9fb
·
1 Parent(s): 13eeb4f

Updating to get the model imports to work

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -281,10 +281,10 @@ if st.button("Generate Endpoint Images"):
281
 
282
  # Load the models from existing huggingface model
283
  # Load the encoder model
284
- # encoder_model_boxes = huggingface_hub.from_pretrained_keras("cmudrc/2d-lattice-encoder")
285
- encoder_model = TFAutoModel.from_pretrained("cmudrc/2d-lattice-encoder")
286
  # Load the decoder model
287
- # decoder_model_boxes = huggingface_hub.from_pretrained_keras("cmudrc/2d-lattice-decoder")
288
- decoder_model = TFAutoModel.from_pretrained("cmudrc/2d-lattice-decoder")
289
 
290
 
 
281
 
282
  # Load the models from existing huggingface model
283
  # Load the encoder model
284
+ encoder_model_boxes = huggingface_hub.from_pretrained_keras("cmudrc/2d-lattice-encoder")
285
+ # encoder_model = TFAutoModel.from_pretrained("cmudrc/2d-lattice-encoder")
286
  # Load the decoder model
287
+ decoder_model_boxes = huggingface_hub.from_pretrained_keras("cmudrc/2d-lattice-decoder")
288
+ # decoder_model = TFAutoModel.from_pretrained("cmudrc/2d-lattice-decoder")
289
 
290