Download app.py from qwekuaryee/regression: direct link, hf CLI and curl.
- Browser
- Download file 251 Bytes
-
https://huggingface.co/qwekuaryee/regression/resolve/main/app.py
- Command line
-
hf download hf://qwekuaryee/regression/app.py
-
curl -L -o app.py https://huggingface.co/qwekuaryee/regression/resolve/main/app.py
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() | |