Bibek Mukherjee commited on
Commit
1252073
·
verified ·
1 Parent(s): e05e897

Update src/frontend/app.py

Browse files
Files changed (1) hide show
  1. src/frontend/app.py +2 -3
src/frontend/app.py CHANGED
@@ -48,10 +48,9 @@ def run_api():
48
  if "api_started" not in st.session_state:
49
  threading.Thread(target=run_api).start()
50
  st.session_state.api_started = True
51
- st.success("Starting API... please wait a few seconds.")
52
-
53
  # Wait a few seconds for server to start
54
- time.sleep(15)
55
 
56
  # Add the project root to the Python path
57
  sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), '../..')))
 
48
  if "api_started" not in st.session_state:
49
  threading.Thread(target=run_api).start()
50
  st.session_state.api_started = True
51
+
 
52
  # Wait a few seconds for server to start
53
+ time.sleep(5)
54
 
55
  # Add the project root to the Python path
56
  sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), '../..')))