Update app.py
Browse files
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 |
-
|
| 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,
|