tracker / app.py
deeksonparlma
update app.py
8ce028d
raw
history blame
226 Bytes
import gradio as gr
import pickle
loaded_model = pickle.load(open("model.pkl", "rb"))
def greet(img):
pred = loaded_model(img)
return pred
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
iface.launch()