LAP-DEV commited on
Commit
ad8d9a4
·
verified ·
1 Parent(s): 50445f7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -65,7 +65,8 @@ class App:
65
  def __init__(self, args):
66
  self.args = args
67
  #self.app = gr.Blocks(css=CSS, theme=self.args.theme, delete_cache=(60, 3600))
68
- self.app = gr.Blocks(css=CSS, theme=gr.themes.Ocean(), delete_cache=(60, 3600))
 
69
  self.whisper_inf = WhisperFactory.create_whisper_inference(
70
  whisper_type=self.args.whisper_type,
71
  whisper_model_dir=self.args.whisper_model_dir,
 
65
  def __init__(self, args):
66
  self.args = args
67
  #self.app = gr.Blocks(css=CSS, theme=self.args.theme, delete_cache=(60, 3600))
68
+ #self.app = gr.Blocks(css=CSS, theme=gr.themes.Ocean(), delete_cache=(60, 3600))
69
+ self.app = gr.Blocks(theme=gr.themes.Ocean(), title="Automatic speech recognition", delete_cache=(60, 3600))
70
  self.whisper_inf = WhisperFactory.create_whisper_inference(
71
  whisper_type=self.args.whisper_type,
72
  whisper_model_dir=self.args.whisper_model_dir,