Update app.py
Browse files
app.py
CHANGED
|
@@ -64,8 +64,7 @@ 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.Ocean(), title="Whisper - Automatic speech recognition", 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,
|
|
@@ -295,7 +294,7 @@ class App:
|
|
| 295 |
|
| 296 |
if website_subtitle:
|
| 297 |
markdown_text += f"""
|
| 298 |
-
|
| 299 |
"""
|
| 300 |
|
| 301 |
gr.Markdown(markdown_text,elem_id="md_project")
|
|
|
|
| 64 |
class App:
|
| 65 |
def __init__(self, args):
|
| 66 |
self.args = args
|
| 67 |
+
self.app = gr.Blocks(css=CSS,theme=gr.themes.Ocean(), title="Whisper", delete_cache=(60, 3600))
|
|
|
|
| 68 |
self.whisper_inf = WhisperFactory.create_whisper_inference(
|
| 69 |
whisper_type=self.args.whisper_type,
|
| 70 |
whisper_model_dir=self.args.whisper_model_dir,
|
|
|
|
| 294 |
|
| 295 |
if website_subtitle:
|
| 296 |
markdown_text += f"""
|
| 297 |
+
# {website_subtitle}
|
| 298 |
"""
|
| 299 |
|
| 300 |
gr.Markdown(markdown_text,elem_id="md_project")
|