audrey06100 commited on
Commit
b1a6869
·
verified ·
1 Parent(s): 89c0b72

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -6
app.py CHANGED
@@ -4,7 +4,8 @@ import gradio as gr
4
  import os
5
  import random
6
 
7
- readme = """
 
8
  ## Introduction
9
  This tool is designed to assist you with two main tasks:
10
  1. **Channel Mapping**: Align your EEG channels with our template channels to ensure compatibility with our models.
@@ -15,6 +16,10 @@ This tool is designed to assist you with two main tasks:
15
  - **Raw data**: The data need to be a two-dimentional array (channel, timepoint).
16
  - **Channel requirements**: Your data must include some channels that correspond to our template channels, which include: ``Fp1, Fp2, F7, F3, Fz, F4, F8, FT7, FC3, FCz, FC4, FT8, T7, C3, Cz, C4, T8, TP7, CP3, CPz, CP4, TP8, P7, P3, Pz, P4, P8, O1, Oz, O2``. At least some of them need to be present for successful mapping. Additionally, please remove any reference, ECG, EOG, EMG... channels before uploading your files.
17
 
 
 
 
 
18
  ## 1. Channel Mapping
19
  The following steps will guide you through the process of mapping your EEG channels to our template channels.
20
 
@@ -218,11 +223,7 @@ with gr.Blocks() as demo:
218
  channel_info_json = gr.JSON(visible=False)
219
 
220
  with gr.Row():
221
- gr.Markdown(
222
- """
223
- <p style="text-align: center;">...</p>
224
- """
225
- )
226
  with gr.Row():
227
 
228
  with gr.Column():
 
4
  import os
5
  import random
6
 
7
+ intro = """
8
+
9
  ## Introduction
10
  This tool is designed to assist you with two main tasks:
11
  1. **Channel Mapping**: Align your EEG channels with our template channels to ensure compatibility with our models.
 
16
  - **Raw data**: The data need to be a two-dimentional array (channel, timepoint).
17
  - **Channel requirements**: Your data must include some channels that correspond to our template channels, which include: ``Fp1, Fp2, F7, F3, Fz, F4, F8, FT7, FC3, FCz, FC4, FT8, T7, C3, Cz, C4, T8, TP7, CP3, CPz, CP4, TP8, P7, P3, Pz, P4, P8, O1, Oz, O2``. At least some of them need to be present for successful mapping. Additionally, please remove any reference, ECG, EOG, EMG... channels before uploading your files.
18
 
19
+ """
20
+
21
+ readme = """
22
+
23
  ## 1. Channel Mapping
24
  The following steps will guide you through the process of mapping your EEG channels to our template channels.
25
 
 
223
  channel_info_json = gr.JSON(visible=False)
224
 
225
  with gr.Row():
226
+ gr.Markdown(intro)
 
 
 
 
227
  with gr.Row():
228
 
229
  with gr.Column():