kadzon commited on
Commit
415df77
·
1 Parent(s): 5e018b2

Create new file

Browse files
Files changed (1) hide show
  1. app.py +16 -0
app.py ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from huggingface_hub import from_pretrained_keras
2
+ import gradio as gr
3
+ import tensorflow as tf
4
+ import numpy as np
5
+ import os
6
+
7
+ model= tf.keras.models.load_model(os.path.join(path, "tf_model.h5"))
8
+
9
+
10
+ inputs = gr.inputs.Image()
11
+ outputs = gr.outputs.Image()
12
+
13
+ def predict(image_input):
14
+ pass
15
+
16
+