Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -8,15 +8,7 @@ from tensorflow.keras.models import load_model
|
|
8 |
|
9 |
|
10 |
|
11 |
-
import subprocess
|
12 |
|
13 |
-
# Command to check TensorFlow version
|
14 |
-
command = "pip show tensorflow"
|
15 |
-
|
16 |
-
# Execute the command
|
17 |
-
result = subprocess.Popen(command, shell=True, stdout=subprocess.PIPE)
|
18 |
-
|
19 |
-
print(result)
|
20 |
|
21 |
# Load the pre-trained model
|
22 |
new_model = load_model('imageclassifier.h5')
|
|
|
8 |
|
9 |
|
10 |
|
|
|
11 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
|
13 |
# Load the pre-trained model
|
14 |
new_model = load_model('imageclassifier.h5')
|