Spaces:
Runtime error
Runtime error
Commit
·
32d06b0
1
Parent(s):
5cd74f9
Update app.py
Browse files
app.py
CHANGED
|
@@ -22,7 +22,7 @@ from transformers import pipeline
|
|
| 22 |
|
| 23 |
device = 'cuda' if cuda.is_available() else 'cpu'
|
| 24 |
tokenizer = AutoTokenizer.from_pretrained("t5-base")
|
| 25 |
-
|
| 26 |
def clean_text(link):
|
| 27 |
sym_spell = SymSpell(max_dictionary_edit_distance=2, prefix_length=7)
|
| 28 |
dictionary_path = pkg_resources.resource_filename(
|
|
|
|
| 22 |
|
| 23 |
device = 'cuda' if cuda.is_available() else 'cpu'
|
| 24 |
tokenizer = AutoTokenizer.from_pretrained("t5-base")
|
| 25 |
+
os.makedirs('./transcripts/')
|
| 26 |
def clean_text(link):
|
| 27 |
sym_spell = SymSpell(max_dictionary_edit_distance=2, prefix_length=7)
|
| 28 |
dictionary_path = pkg_resources.resource_filename(
|