regression / app.py
qwekuaryee's picture
Create app.py
65afea9 verified
raw
history blame contribute delete
251 Bytes
import gradio as gr
import joblib
model=joblib.load('model.joblib')
input=gr.Numbers('Input')
output=gr.Textbox('Output')
def predict(fi):
pred=model.predict(fi)
return pred
gr.Tnterface(fn=predict,inputs=input,outputs=output).lunch()