audrey06100 commited on
Commit
145f4ad
·
1 Parent(s): 333fb08
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -47,7 +47,7 @@ After completing the previous steps, your channels will be aligned with the temp
47
  - In case there are still some channels that haven't been mapped, we will automatically batch and optimally assign them to the template. This ensures that even channels not initially mapped will still be included in the final result.
48
  - Once the mapping process is completed, a JSON file containing the mapping result will be generated. This file is necessary only if you plan to run the models using the <a href="https://github.com/CNElab-Plus/ArtifactRemovalTransformer">source code</a>; otherwise, you can ignore it.
49
 
50
- ## 2. Decode data
51
  After clicking on ``Run`` button, we will process your EEG data based on the mapping result. If necessary, your data will be divided into batches and run the models on each batch sequentially, ensuring that all channels are properly processed.
52
  """
53
 
@@ -271,7 +271,7 @@ with gr.Blocks(js=js, delete_cache=(3600, 3600)) as demo:
271
  # -----------------------------------------------
272
 
273
  with gr.Column(variant="panel"):
274
- gr.Markdown("# 2.Decode Data")
275
  # ---------------------input---------------------
276
  with gr.Row():
277
  in_data_file = gr.File(label="Raw data (.csv)", file_types=[".csv"])
@@ -789,7 +789,7 @@ with gr.Blocks(js=js, delete_cache=(3600, 3600)) as demo:
789
  )
790
 
791
  # +========================================================================================+
792
- # | Stage2: decode data |
793
  # +========================================================================================+
794
  @cancel_btn.click(inputs = stage2_json, outputs = [stage2_json, cancel_btn, batch_md])
795
  def stop_stage2(stage2_info):
 
47
  - In case there are still some channels that haven't been mapped, we will automatically batch and optimally assign them to the template. This ensures that even channels not initially mapped will still be included in the final result.
48
  - Once the mapping process is completed, a JSON file containing the mapping result will be generated. This file is necessary only if you plan to run the models using the <a href="https://github.com/CNElab-Plus/ArtifactRemovalTransformer">source code</a>; otherwise, you can ignore it.
49
 
50
+ ## 2. Data Denoising
51
  After clicking on ``Run`` button, we will process your EEG data based on the mapping result. If necessary, your data will be divided into batches and run the models on each batch sequentially, ensuring that all channels are properly processed.
52
  """
53
 
 
271
  # -----------------------------------------------
272
 
273
  with gr.Column(variant="panel"):
274
+ gr.Markdown("# 2.Data Denoising")
275
  # ---------------------input---------------------
276
  with gr.Row():
277
  in_data_file = gr.File(label="Raw data (.csv)", file_types=[".csv"])
 
789
  )
790
 
791
  # +========================================================================================+
792
+ # | Stage2: data denoising |
793
  # +========================================================================================+
794
  @cancel_btn.click(inputs = stage2_json, outputs = [stage2_json, cancel_btn, batch_md])
795
  def stop_stage2(stage2_info):