hasibzunair commited on
Commit
78e7dd3
β€’
1 Parent(s): e22178f

revert to old version

Browse files
Files changed (2) hide show
  1. app.py +2 -2
  2. requirements.txt +1 -1
app.py CHANGED
@@ -2,9 +2,9 @@ import os
2
 
3
  os.environ["CUDA_VISIBLE_DEVICES"] = "-1"
4
  import codecs
5
- #import keras.backend.tensorflow_backend as tb
6
 
7
- #tb._SYMBOLIC_SCOPE.value = True
8
  import numpy as np
9
  import gradio as gr
10
  import cv2
 
2
 
3
  os.environ["CUDA_VISIBLE_DEVICES"] = "-1"
4
  import codecs
5
+ import keras.backend.tensorflow_backend as tb
6
 
7
+ tb._SYMBOLIC_SCOPE.value = True
8
  import numpy as np
9
  import gradio as gr
10
  import cv2
requirements.txt CHANGED
@@ -2,7 +2,7 @@ scipy==1.4.1
2
  tensorflow==2.2.0
3
  keras==2.3.1
4
  h5py==2.10.0
5
- numpy
6
  opencv-python-headless==4.2.0.32
7
  Pillow
8
 
 
2
  tensorflow==2.2.0
3
  keras==2.3.1
4
  h5py==2.10.0
5
+ numpy==1.18.1
6
  opencv-python-headless==4.2.0.32
7
  Pillow
8