EC2 Default User
commited on
Commit
·
cb40fe8
1
Parent(s):
82fb340
Fixing order of importation of modules
Browse files
app.py
CHANGED
|
@@ -24,6 +24,12 @@ import random
|
|
| 24 |
from subprocess import call
|
| 25 |
from datetime import datetime
|
| 26 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 27 |
def time_between(t1, t2):
|
| 28 |
FMT = '%H:%M:%S'
|
| 29 |
t1 = datetime.strptime(t1, FMT)
|
|
|
|
| 24 |
from subprocess import call
|
| 25 |
from datetime import datetime
|
| 26 |
|
| 27 |
+
Sagemaker = False
|
| 28 |
+
if Sagemaker :
|
| 29 |
+
env='source activate python3 && conda activate VideoMessage &&'
|
| 30 |
+
else:
|
| 31 |
+
env=''
|
| 32 |
+
|
| 33 |
def time_between(t1, t2):
|
| 34 |
FMT = '%H:%M:%S'
|
| 35 |
t1 = datetime.strptime(t1, FMT)
|