Spaces:
Sleeping
Sleeping
David Chuan-En Lin
commited on
Commit
·
25dd820
1
Parent(s):
a618fc8
init
Browse files- foodnet.py +3 -1
foodnet.py
CHANGED
@@ -252,7 +252,9 @@ if __name__ == "__main__":
|
|
252 |
# # model_path = input("Model filename and directory [eg. models/new_model.model]: ")
|
253 |
# # model.save(model_path)
|
254 |
# else:
|
255 |
-
|
|
|
|
|
256 |
|
257 |
|
258 |
##### UI/UX #####
|
|
|
252 |
# # model_path = input("Model filename and directory [eg. models/new_model.model]: ")
|
253 |
# # model.save(model_path)
|
254 |
# else:
|
255 |
+
gdown.download('https://drive.google.com/uc?id=1fXGsWEbr-1BftKtOsnxc61cM3akMAIC0', 'fastfood.pth')
|
256 |
+
gdown.download('https://drive.google.com/uc?id=1h_TijdSw1K9RT3dnlfIg4xtl8WPNNQmn', 'fastfood.pth.wv.vectors_ngrams.npy')
|
257 |
+
model, yum = load_model('fastfood.pth')
|
258 |
|
259 |
|
260 |
##### UI/UX #####
|