fancyfeast
commited on
Commit
·
54451e1
1
Parent(s):
4f50f34
Bugfix
Browse files
app.py
CHANGED
@@ -52,7 +52,7 @@ def predict(image: Image.Image):
|
|
52 |
|
53 |
|
54 |
print("Downloading model...")
|
55 |
-
path = huggingface_hub.snapshot_download(MODEL_REPO)
|
56 |
print("Loading model...")
|
57 |
session = rt.InferenceSession(path / 'model.onnx', providers=["CUDAExecutionProvider", "CPUExecutionProvider"])
|
58 |
|
|
|
52 |
|
53 |
|
54 |
print("Downloading model...")
|
55 |
+
path = Path(huggingface_hub.snapshot_download(MODEL_REPO))
|
56 |
print("Loading model...")
|
57 |
session = rt.InferenceSession(path / 'model.onnx', providers=["CUDAExecutionProvider", "CPUExecutionProvider"])
|
58 |
|