Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ class TranscriptionApp:
|
|
13 |
"""
|
14 |
self.model_manager = ModelManager()
|
15 |
self.default_device = "cuda" if torch.cuda.is_available() else "cpu"
|
16 |
-
self.default_model = "Large-
|
17 |
self.app = gr.Blocks()
|
18 |
self.outputs = {}
|
19 |
self.last_transcription_time = 0
|
@@ -60,8 +60,9 @@ class TranscriptionApp:
|
|
60 |
# User interface for the transcription kit using Gradio
|
61 |
def setup_ui(self):
|
62 |
with self.app:
|
63 |
-
gr.Markdown("# Kit
|
64 |
-
gr.Markdown("❤️
|
|
|
65 |
with gr.Row():
|
66 |
with gr.Column():
|
67 |
gr.Markdown("### Supported Formats: Audio (mp3, wav) and Video (mp4, avi, mov, flv)")
|
|
|
13 |
"""
|
14 |
self.model_manager = ModelManager()
|
15 |
self.default_device = "cuda" if torch.cuda.is_available() else "cpu"
|
16 |
+
self.default_model = "Large-v3" if torch.cuda.is_available() else "Small"
|
17 |
self.app = gr.Blocks()
|
18 |
self.outputs = {}
|
19 |
self.last_transcription_time = 0
|
|
|
60 |
# User interface for the transcription kit using Gradio
|
61 |
def setup_ui(self):
|
62 |
with self.app:
|
63 |
+
gr.Markdown("# Whisperx Kit")
|
64 |
+
gr.Markdown("❤️ Try to make a best open source transcription toolkit.")
|
65 |
+
gr.Markdown("❤️ Base on https://github.com/rgcodeai/Kit-Whisperx. Thanks for Ricardo G.")
|
66 |
with gr.Row():
|
67 |
with gr.Column():
|
68 |
gr.Markdown("### Supported Formats: Audio (mp3, wav) and Video (mp4, avi, mov, flv)")
|