Spaces:
Sleeping
Sleeping
Commit
·
6a3bbd9
1
Parent(s):
02bd7bf
tst inference
Browse files
app.py
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
import gradio as gr
|
2 |
import joblib
|
3 |
-
from skops
|
4 |
|
5 |
-
download("stummala521/AI4SAR", "model/model.pkl")
|
6 |
model = joblib.load(
|
7 |
"model.pkl"
|
8 |
)
|
|
|
1 |
import gradio as gr
|
2 |
import joblib
|
3 |
+
from skops import hub_utils
|
4 |
|
5 |
+
hub_utils.download(repo_id="stummala521/AI4SAR", dst="model/model.pkl")
|
6 |
model = joblib.load(
|
7 |
"model.pkl"
|
8 |
)
|