saattrupdan commited on
Commit
f4ab270
·
1 Parent(s): 8afa9a4

feat: Add .env

Browse files
Files changed (3) hide show
  1. .gitignore +1 -0
  2. app.py +3 -0
  3. requirements.txt +1 -0
.gitignore CHANGED
@@ -1 +1,2 @@
1
  .venv/
 
 
1
  .venv/
2
+ .env
app.py CHANGED
@@ -9,6 +9,9 @@ import samplerate
9
  import torch
10
  from punctfix import PunctFixer
11
  from transformers import pipeline
 
 
 
12
 
13
  warnings.filterwarnings("ignore", category=FutureWarning)
14
 
 
9
  import torch
10
  from punctfix import PunctFixer
11
  from transformers import pipeline
12
+ from dotenv import load_dotenv
13
+
14
+ load_dotenv()
15
 
16
  warnings.filterwarnings("ignore", category=FutureWarning)
17
 
requirements.txt CHANGED
@@ -45,6 +45,7 @@ Pygments==2.18.0
45
  pygtrie==2.5.0
46
  pyparsing==3.1.4
47
  python-dateutil==2.9.0.post0
 
48
  python-multipart==0.0.9
49
  pytz==2024.2
50
  PyYAML==6.0.2
 
45
  pygtrie==2.5.0
46
  pyparsing==3.1.4
47
  python-dateutil==2.9.0.post0
48
+ python-dotenv==1.0.1
49
  python-multipart==0.0.9
50
  pytz==2024.2
51
  PyYAML==6.0.2