Skip to content

Blocking time.sleep() freezes Streamlit UI during analysis #10

Description

@AshayK003

Problem

pipeline.py calls time.sleep(2) between batch A-B-C and time.sleep(1) for dependent sections. This blocks the Streamlit main thread, freezing the UI for 5+ seconds total.

Solution

Remove the sleeps or replace with non-blocking delays using st.spinner wrapping.

Acceptance Criteria

  • Analysis progress updates render in real-time
  • No perceptible UI freezes between batches

Difficulty: Medium

Metadata

Metadata

Assignees

No one assigned

    Labels

    UXUser experienceperformancePerformance issues

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions