""" Sidebar component with step-by-step guide """ import gradio as gr def create_sidebar(current_step): """Create the sidebar with progress steps""" with gr.Column(elem_classes="sidebar"): gr.Markdown("### Workflow Steps") # Step indicators steps = [ {"number": 1, "title": "Provide Code", "description": "Upload or paste your Python code"}, {"number": 2, "title": "Generate Files", "description": "Download individual components"}, {"number": 3, "title": "Deploy", "description": "Deploy to Hugging Face"} ] step_html = '
Ensure your Python code is well-structured for better conversion results.
Your API keys are used only for conversion and are not stored.
Deploy with one click to Hugging Face Spaces.