Hiricus commited on
Commit
16f8b38
·
1 Parent(s): 3cd4ebe

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,8 +1,8 @@
1
  import gradio as gr
2
  import numpy as np
 
3
 
4
-
5
- model = keras.models.load_model('saved_model')
6
 
7
  def greet(img):
8
  img = np.expand_dims(img, axis=0)
 
1
  import gradio as gr
2
  import numpy as np
3
+ from huggingface_hub import from_pretrained_keras
4
 
5
+ model = from_pretrained_keras("")
 
6
 
7
  def greet(img):
8
  img = np.expand_dims(img, axis=0)