Spaces:
Running
Running
adding reqs
Browse files
app.py
CHANGED
@@ -5,6 +5,32 @@ import tempfile
|
|
5 |
import soundfile as sf
|
6 |
import torch
|
7 |
import easyocr
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
|
9 |
# ---------------------------
|
10 |
# Caching the OCR reader for performance
|
|
|
5 |
import soundfile as sf
|
6 |
import torch
|
7 |
import easyocr
|
8 |
+
import omegaconf
|
9 |
+
|
10 |
+
|
11 |
+
# Inject custom CSS
|
12 |
+
st.markdown(
|
13 |
+
"""
|
14 |
+
<style>
|
15 |
+
/* Customize the background and text colors */
|
16 |
+
.reportview-container {
|
17 |
+
background-color: #FFFFFF;
|
18 |
+
}
|
19 |
+
.main .block-container {
|
20 |
+
background-color: #FFFFFF;
|
21 |
+
color: #008000;
|
22 |
+
}
|
23 |
+
/* Customize buttons, headers, etc. */
|
24 |
+
.stButton>button {
|
25 |
+
background-color: #008000;
|
26 |
+
color: #FFFFFF;
|
27 |
+
}
|
28 |
+
</style>
|
29 |
+
""",
|
30 |
+
unsafe_allow_html=True
|
31 |
+
)
|
32 |
+
|
33 |
+
|
34 |
|
35 |
# ---------------------------
|
36 |
# Caching the OCR reader for performance
|