LAP-DEV commited on
Commit
7217578
·
verified ·
1 Parent(s): 0c7ad13

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -64,8 +64,8 @@ device_info = f"""Running on: **{device}**
64
  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.Origin(), 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,
 
64
  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.Origin(), 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,