Spaces:
Running
Running
Sadjad Alikhani
commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -459,7 +459,7 @@ def process_hdf5_file(uploaded_file, percentage):
|
|
| 459 |
|
| 460 |
# Step 7: Tokenize the data using the tokenizer from input_preprocess
|
| 461 |
preprocessed_chs = input_preprocess.tokenizer(manual_data=channels)
|
| 462 |
-
|
| 463 |
|
| 464 |
# Step 7: Perform inference using the functions from inference.py
|
| 465 |
output_emb = inference.lwm_inference(preprocessed_chs, 'cls_emb', model)
|
|
|
|
| 459 |
|
| 460 |
# Step 7: Tokenize the data using the tokenizer from input_preprocess
|
| 461 |
preprocessed_chs = input_preprocess.tokenizer(manual_data=channels)
|
| 462 |
+
print(preprocessed_chs[0][0][-1])
|
| 463 |
|
| 464 |
# Step 7: Perform inference using the functions from inference.py
|
| 465 |
output_emb = inference.lwm_inference(preprocessed_chs, 'cls_emb', model)
|