Bibek Mukherjee
commited on
Update src/frontend/app.py
Browse files- 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 |
-
|
52 |
-
|
53 |
# Wait a few seconds for server to start
|
54 |
-
time.sleep(
|
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__), '../..')))
|