JbIPS commited on
Commit
a6e6021
1 Parent(s): 8ccaed9

Fix Tensorflow import

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -4,8 +4,8 @@ import numpy as np
4
  import streamlit as st
5
  import tensorflow as tf
6
  from huggingface_hub import hf_hub_url, cached_download
7
- from tf.keras.preprocessing.image import img_to_array
8
- from tf.keras.models import load_model
9
  from PIL import Image
10
  from io import BytesIO
11
 
 
4
  import streamlit as st
5
  import tensorflow as tf
6
  from huggingface_hub import hf_hub_url, cached_download
7
+ from tensorflow.keras.preprocessing.image import img_to_array
8
+ from tensorflow.keras.models import load_model
9
  from PIL import Image
10
  from io import BytesIO
11