cyyeh commited on
Commit
c011d40
·
1 Parent(s): 12a0822
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -27,7 +27,7 @@ def get_python_files(owner, repo, path):
27
  return CodeFetcher().get_python_files(owner, repo, path)
28
 
29
 
30
- @st.cache
31
  def generate_imports_graph(python_files):
32
  return CodeImportsAnalyzer(python_files).analyze().generate_imports_graph()
33
 
 
27
  return CodeFetcher().get_python_files(owner, repo, path)
28
 
29
 
30
+ @st.cache(allow_output_mutation=True)
31
  def generate_imports_graph(python_files):
32
  return CodeImportsAnalyzer(python_files).analyze().generate_imports_graph()
33