Spaces:
Runtime error
Runtime error
add cache
Browse files
app.py
CHANGED
@@ -136,6 +136,7 @@ def get_model_tags(model_name):
|
|
136 |
return model_tags
|
137 |
|
138 |
|
|
|
139 |
def get_suggestions(task_type, model_name, problem_type):
|
140 |
# Check if the inputs were given
|
141 |
if all([task_type == "", model_name == "", problem_type == ""]):
|
|
|
136 |
return model_tags
|
137 |
|
138 |
|
139 |
+
@lru_cache(maxsize=int(2e10))
|
140 |
def get_suggestions(task_type, model_name, problem_type):
|
141 |
# Check if the inputs were given
|
142 |
if all([task_type == "", model_name == "", problem_type == ""]):
|