Spaces:
Runtime error
Runtime error
File size: 818 Bytes
c0e005e 2d65c49 c0e005e | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | from analyzer import analyze_workflow
import streamlit as st
st.title("Ai Workflow Analyzer")
st.write("Type your workflow to analyze its structure and components.")
st.text_area("Workflow Input", height=200, key="workflow_input")
if st.button("Analyze Workflow"):
workflow_input = st.session_state.workflow_input
if workflow_input:
analysis_result = analyze_workflow(workflow_input)
st.subheader("Analysis Result")
st.write(analysis_result)
st.download_button(
label="Download Analysis Result",
data=analysis_result,
file_name="analysis_result.md",
mime="text/plain"
)
else:
st.warning("Please enter a workflow to analyze.")
st.write("© 2026 Ai Workflow Analyzer. All rights reserved.")
|