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

Update app.py

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