Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -5,11 +5,11 @@ import subprocess
|
|
5 |
import sys
|
6 |
|
7 |
subprocess.check_call([sys.executable, "-m", "pip", "uninstall", 'tensorflow'])
|
8 |
-
subprocess.check_call([sys.executable, "-m", "pip", "install", 'tensorflow==2.
|
9 |
subprocess.check_call([sys.executable, "-m", "pip", "install", 'tensorflow-gpu'])
|
10 |
subprocess.check_call([sys.executable, "-m", "pip", "uninstall", 'transformers'])
|
11 |
subprocess.check_call([sys.executable, "-m", "pip", "install", 'transformers'])
|
12 |
-
subprocess.check_call([sys.executable, "-m", "pip", "install", 'keras==2.
|
13 |
|
14 |
|
15 |
from transformers import pipeline
|
|
|
5 |
import sys
|
6 |
|
7 |
subprocess.check_call([sys.executable, "-m", "pip", "uninstall", 'tensorflow'])
|
8 |
+
subprocess.check_call([sys.executable, "-m", "pip", "install", 'tensorflow==2.10.0'])
|
9 |
subprocess.check_call([sys.executable, "-m", "pip", "install", 'tensorflow-gpu'])
|
10 |
subprocess.check_call([sys.executable, "-m", "pip", "uninstall", 'transformers'])
|
11 |
subprocess.check_call([sys.executable, "-m", "pip", "install", 'transformers'])
|
12 |
+
subprocess.check_call([sys.executable, "-m", "pip", "install", 'keras==2.10.0'])
|
13 |
|
14 |
|
15 |
from transformers import pipeline
|