Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -238,7 +238,8 @@ if __name__ == "__main__":
|
|
| 238 |
|
| 239 |
# Pre-load all models
|
| 240 |
original_models, fine_models = load_model(options)
|
| 241 |
-
|
|
|
|
| 242 |
def fit3d(image, model_option, kmeans_num):
|
| 243 |
|
| 244 |
# Select model
|
|
|
|
| 238 |
|
| 239 |
# Pre-load all models
|
| 240 |
original_models, fine_models = load_model(options)
|
| 241 |
+
|
| 242 |
+
@spaces.GPU
|
| 243 |
def fit3d(image, model_option, kmeans_num):
|
| 244 |
|
| 245 |
# Select model
|