Update BrainBot.py
Browse files- BrainBot.py +1 -1
BrainBot.py
CHANGED
@@ -13,7 +13,7 @@ st.markdown(f'<style>{css}</style>', unsafe_allow_html=True)
|
|
13 |
## SERVER SETUP
|
14 |
## -------------------------------------------------------------------------------------------
|
15 |
def start_server():
|
16 |
-
os.system("uvicorn
|
17 |
st.session_state['server_started'] = True
|
18 |
|
19 |
if 'server_started' not in st.session_state:
|
|
|
13 |
## SERVER SETUP
|
14 |
## -------------------------------------------------------------------------------------------
|
15 |
def start_server():
|
16 |
+
os.system("uvicorn main:app --port 7860 --host 0.0.0.0 --workers 2")
|
17 |
st.session_state['server_started'] = True
|
18 |
|
19 |
if 'server_started' not in st.session_state:
|