joaogante HF staff commited on
Commit
08f9035
1 Parent(s): 6244f43
Files changed (1) hide show
  1. app.py +1 -0
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 == ""]):