Spaces:
Runtime error
Runtime error
Commit
·
0a6d9bf
1
Parent(s):
d6412f8
Create app.py
Browse files
app.py
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from huggingface_hub import hf_hub_download
|
2 |
+
|
3 |
+
# Download the model file
|
4 |
+
model_file = hf_hub_download(
|
5 |
+
repo_id="MichaelKonu/MoneyMike",
|
6 |
+
filename="model.pkl"
|
7 |
+
)
|
8 |
+
|
9 |
+
# Now you can load the model from the downloaded file
|
10 |
+
learn = load_model(model_file)
|