Spaces:
Running
Running
NimaBoscarino
commited on
Commit
•
77a9f7a
1
Parent(s):
09bc438
Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ from image_tools.sizes import resize_and_crop
|
|
17 |
|
18 |
|
19 |
def load_model(model_name):
|
20 |
-
|
21 |
|
22 |
return model
|
23 |
|
|
|
17 |
|
18 |
|
19 |
def load_model(model_name):
|
20 |
+
model = interpolator.Interpolator(snapshot_download(repo_id=model_name), None)
|
21 |
|
22 |
return model
|
23 |
|