MCPcopy Index your code
hub / github.com/IyadhKhalfallah/Code2Flowchart / main

Function main

code2flowchart/playground.py:42–51  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

40
41
42def main():
43 st.title("Flowchart generator from code")
44
45 # Add a text input box for the Python code
46 code = st.text_area("Enter your Python code here:", max_chars=5000)
47 # Add a submit button
48 if st.button("Run Code"):
49 # Run the Python code and display the output
50 output = generate_output(code)
51 st.image(output, caption="Generated Image", use_column_width=True)
52
53
54main()

Callers 1

playground.pyFile · 0.85

Calls 1

generate_outputFunction · 0.70

Tested by

no test coverage detected