yonikremer commited on
Commit
0a5446c
1 Parent(s): 24fe512

awaiting server start main

Browse files
Files changed (2) hide show
  1. app.py +2 -0
  2. start_server.py +5 -0
app.py CHANGED
@@ -70,3 +70,5 @@ with st.form("request_form"):
70
  with open("user_instructions_hebrew.md", "r") as fh:
71
  long_description = fh.read()
72
  st.markdown(long_description)
 
 
 
70
  with open("user_instructions_hebrew.md", "r") as fh:
71
  long_description = fh.read()
72
  st.markdown(long_description)
73
+
74
+ await on_server_start_main()
start_server.py ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ import os
2
+
3
+ if __name__ == "__main__":
4
+ # start the streamlit server
5
+ os.system("streamlit run app.py")