Bigshot commited on
Commit
ad066f9
·
verified ·
1 Parent(s): 7b98524

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -2
app.py CHANGED
@@ -1,7 +1,11 @@
1
  import os
2
  print("Upgrade and Install...")
3
- os.system('pip install tensorflow numpy gradio')
4
- os.system('pip install --upgrade tensorflow numpy gradio')
 
 
 
 
5
  import tensorflow as tf
6
  from tensorflow import keras
7
  import numpy as np
 
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