Blane187 commited on
Commit
7c6d107
1 Parent(s): 0b33fb8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -5
app.py CHANGED
@@ -2,7 +2,6 @@ import wave
2
  import gradio as gr
3
 
4
 
5
-
6
  def get_audio_duration(audio_file):
7
  with wave.open(audio_file, 'rb') as audio:
8
  frames = audio.getnframes()
@@ -18,10 +17,10 @@ def get_training_info(audio_file):
18
  sample_rate = wave.open(audio_file, 'rb').getframerate()
19
 
20
  training_info = {
21
- (0, 2): (150, 'OV2'),
22
- (2, 3): (200, 'OV2'),
23
- (3, 5): (250, 'OV2'),
24
- (5, 10): (300, 'Normal'),
25
  (10, 25): (500, 'Normal'),
26
  (25, 45): (700, 'Normal'),
27
  (45, 60): (1000, 'Normal')
 
2
  import gradio as gr
3
 
4
 
 
5
  def get_audio_duration(audio_file):
6
  with wave.open(audio_file, 'rb') as audio:
7
  frames = audio.getnframes()
 
17
  sample_rate = wave.open(audio_file, 'rb').getframerate()
18
 
19
  training_info = {
20
+ (0, 2): (150, 'TITAN'),
21
+ (2, 3): (200, 'TITAN'),
22
+ (3, 5): (250, 'TITAN'),
23
+ (5, 10): (300, 'normal'),
24
  (10, 25): (500, 'Normal'),
25
  (25, 45): (700, 'Normal'),
26
  (45, 60): (1000, 'Normal')