BHW commited on
Commit
44a43a2
·
verified ·
1 Parent(s): b6e979d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -18
app.py CHANGED
@@ -11,24 +11,13 @@ LABLES = ["Hi, doctor", "doctor home", "Ask doctor", "Hey, daughter", "Hi, gemte
11
  # Initialize a dictionary to store file paths by speaker_id
12
  uploaded_files = {}
13
 
14
- help_en = """
15
- ### Recording Requirements:
16
-
17
- | Label | Times Required |
18
- |----------------|----------------|
19
- | Hi, doctor | 5 |
20
- | doctor home | 1 |
21
- | Ask doctor | 1 |
22
- | Hey, daughter | 1 |
23
- | Hi, gemtek | 1 |
24
- | Hi, AI | 1 |
25
-
26
- Please record or upload each of these phrases the required number of times.
27
-
28
- 1. **Enter User Name**: Input your user name, which will be used to generate a unique ID for your recordings.
29
- 2. **Record or Upload Audio**: Click the "Record Audio" button to start recording or upload an existing audio file. The maximum length for each recording is 1.5 seconds.
30
- 3. **Submit Recording**: After recording or uploading, click the "Submit" button to save the audio.
31
- 4. **Download Recordings**: Use the provided download links to retrieve all recorded files.
32
  """
33
 
34
  help_zh_tw = f"""
 
11
  # Initialize a dictionary to store file paths by speaker_id
12
  uploaded_files = {}
13
 
14
+ help_en = f"""
15
+ ### Usage Instructions:
16
+ 1. **Select a Label**: Choose a label from the dropdown menu, or select "Custom" to enter your own label.
17
+ 2. **Enter User Name**: Input your user name, which will be used to generate a unique ID for your recordings.
18
+ 3. **Record or Upload Audio**: Click the "Record Audio" button to start recording or upload an existing audio file. The maximum length for each recording or uploaded file is {MAX_LENGTH} seconds.
19
+ 4. **Submit Recording**: After recording or uploading, click the "Submit" button to save the audio.
20
+ 5. **Download Recordings**: Use the provided download links to retrieve all recorded files.
 
 
 
 
 
 
 
 
 
 
 
21
  """
22
 
23
  help_zh_tw = f"""