Spaces:
Runtime error
Runtime error
fix bug
Browse files
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 |
|