Update app.py
Browse files
app.py
CHANGED
|
@@ -9,7 +9,7 @@ try:
|
|
| 9 |
except ImportError:
|
| 10 |
# TensorFlow is not installed, so install it
|
| 11 |
import subprocess
|
| 12 |
-
subprocess.check_call(["pip", "install", "tensorflow
|
| 13 |
print("TensorFlow library has been installed")
|
| 14 |
try:
|
| 15 |
importlib.import_module('transformers')
|
|
|
|
| 9 |
except ImportError:
|
| 10 |
# TensorFlow is not installed, so install it
|
| 11 |
import subprocess
|
| 12 |
+
subprocess.check_call(["pip", "install", "tensorflow"])
|
| 13 |
print("TensorFlow library has been installed")
|
| 14 |
try:
|
| 15 |
importlib.import_module('transformers')
|