Sadjad Alikhani commited on
Commit
95bdd6e
·
verified ·
1 Parent(s): 52347cb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -455,7 +455,7 @@ def process_hdf5_file(uploaded_file, percentage):
455
  #print(preprocessed_chs[0][0][1])
456
 
457
  # Step 7: Perform inference using the functions from inference.py
458
- output_emb = inference.lwm_inference(preprocessed_chs, 'channel_emb', model)
459
  output_raw = inference.create_raw_dataset(preprocessed_chs, device)
460
 
461
  print(f"Output Embeddings Shape: {output_emb.shape}")
 
455
  #print(preprocessed_chs[0][0][1])
456
 
457
  # Step 7: Perform inference using the functions from inference.py
458
+ output_emb = inference.lwm_inference(preprocessed_chs, 'cls_emb', model)
459
  output_raw = inference.create_raw_dataset(preprocessed_chs, device)
460
 
461
  print(f"Output Embeddings Shape: {output_emb.shape}")