prakrutpatel commited on
Commit
68ea811
·
1 Parent(s): 4d6d035

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -55,8 +55,8 @@ utils_ops.tf = tf.compat.v1
55
 
56
  # Patch the location of gfile
57
  tf.gfile = tf.io.gfile
58
- os.system('cd ..')
59
- os.system('python object_detection/builders/model_builder_tf2_test.py')
60
  def load_model(model_dir):
61
  model = tf.saved_model.load(str(model_dir))
62
  model = model.signatures['serving_default']
 
55
 
56
  # Patch the location of gfile
57
  tf.gfile = tf.io.gfile
58
+ os.chdir('..')
59
+ os.system('python research/object_detection/builders/model_builder_tf2_test.py')
60
  def load_model(model_dir):
61
  model = tf.saved_model.load(str(model_dir))
62
  model = model.signatures['serving_default']