Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -462,7 +462,7 @@ def process_hdf5_file(uploaded_file, percentage):
|
|
462 |
preprocessed_chs = input_preprocess.tokenizer(manual_data=channels)
|
463 |
|
464 |
# Step 7: Perform inference using the functions from inference.py
|
465 |
-
output_emb = inference.lwm_inference(preprocessed_chs, '
|
466 |
output_raw = inference.create_raw_dataset(preprocessed_chs, device)
|
467 |
|
468 |
print(f"Output Embeddings Shape: {output_emb.shape}")
|
|
|
462 |
preprocessed_chs = input_preprocess.tokenizer(manual_data=channels)
|
463 |
|
464 |
# Step 7: Perform inference using the functions from inference.py
|
465 |
+
output_emb = inference.lwm_inference(preprocessed_chs, 'channel_emb', model, device)
|
466 |
output_raw = inference.create_raw_dataset(preprocessed_chs, device)
|
467 |
|
468 |
print(f"Output Embeddings Shape: {output_emb.shape}")
|