Sa-m commited on
Commit
e845a5d
1 Parent(s): 2ca9920

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -3,7 +3,9 @@ import gradio as gr
3
  import tensorflow as tf
4
  import numpy as np
5
  from tensorflow.keras.models import load_model
6
-
 
 
7
  model=load_model('best_model_76.h5')
8
 
9
  def classify_image(inp):
 
3
  import tensorflow as tf
4
  import numpy as np
5
  from tensorflow.keras.models import load_model
6
+ import os
7
+ os.environ['TF_KERAS'] = '1'
8
+ #os.environ['TF_ENABLE_ONEDNN_OPTS']=0
9
  model=load_model('best_model_76.h5')
10
 
11
  def classify_image(inp):