nuernie
commited on
Commit
Β·
75a1c55
1
Parent(s):
4d66377
adjust
Browse files
app.py
CHANGED
@@ -1,5 +1,9 @@
|
|
1 |
-
|
2 |
import logging
|
|
|
|
|
|
|
|
|
3 |
|
4 |
# βββββββββββββββββββββββββββββ
|
5 |
# Logging
|
|
|
1 |
+
import os
|
2 |
import logging
|
3 |
+
from whisper_live.server import TranscriptionServer
|
4 |
+
|
5 |
+
# Set up HuggingFace cache directory
|
6 |
+
os.environ['TRANSFORMERS_CACHE'] = os.path.join(os.path.dirname(os.path.abspath(__file__)), '.cache/huggingface')
|
7 |
|
8 |
# βββββββββββββββββββββββββββββ
|
9 |
# Logging
|