SineTheta commited on
Commit
e04912d
·
1 Parent(s): c54e7cb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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.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.9.0'])
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