Bigshot commited on
Commit
22a9a4c
·
verified ·
1 Parent(s): ad066f9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -5
app.py CHANGED
@@ -1,11 +1,9 @@
1
  import os
2
  print("Upgrade and Install...")
3
- os.system('pip install tensorflow numpy gradio keras')
4
- os.system('pip install --upgrade tensorflow numpy gradio keras nvidia-cuda-toolkit libcudnn8')
5
  os.system('rm -rf ~/.keras ~/.cache')
6
- os.system('pip show tensorflow keras')
7
- os.system('sudo apt-get install nvidia-cuda-toolkit libcudnn8')
8
- os.system('pip show tensorflow keras')
9
  import tensorflow as tf
10
  from tensorflow import keras
11
  import numpy as np
 
1
  import os
2
  print("Upgrade and Install...")
3
+ os.system('pip install tensorflow numpy gradio keras tensorflow-cpu')
4
+ os.system('pip install --upgrade tensorflow numpy gradio keras nvidia-cuda-toolkit libcudnn8 tensorflow-cpu')
5
  os.system('rm -rf ~/.keras ~/.cache')
6
+
 
 
7
  import tensorflow as tf
8
  from tensorflow import keras
9
  import numpy as np