Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -10,10 +10,18 @@ client_ports = []
|
|
10 |
|
11 |
st.set_page_config(layout="wide")
|
12 |
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
if "server_Ports" not in st.session_state:
|
14 |
-
st.session_state
|
15 |
if "client_Ports" not in st.session_state:
|
16 |
-
st.session_state
|
|
|
|
|
17 |
|
18 |
st.sidebar.title("NeuralGPT")
|
19 |
st.sidebar.info(
|
@@ -21,46 +29,50 @@ st.sidebar.info(
|
|
21 |
[GitHub](https://github.com/giswqs)
|
22 |
"""
|
23 |
)
|
24 |
-
|
25 |
-
|
|
|
26 |
serverPorts = st.sidebar.container(border=True)
|
27 |
-
serverPorts.
|
28 |
st.sidebar.text("Client ports")
|
29 |
clientPorts = st.sidebar.container(border=True)
|
30 |
-
clientPorts.
|
|
|
|
|
|
|
31 |
|
32 |
-
st.title("NeuralGPT")
|
33 |
|
34 |
-
st.markdown(
|
35 |
-
|
36 |
-
|
37 |
|
38 |
-
|
39 |
-
)
|
40 |
|
41 |
-
st.info("Click on the left sidebar menu to navigate to the different apps.")
|
42 |
|
43 |
-
st.subheader("shit goes in here")
|
44 |
-
st.markdown(
|
|
|
|
|
45 |
"""
|
46 |
-
|
47 |
-
"""
|
48 |
-
)
|
49 |
|
50 |
-
row1_col1, row1_col2 = st.columns(2)
|
51 |
-
with row1_col1:
|
52 |
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
|
59 |
-
with row1_col2:
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
|
66 |
asyncio.run(main())
|
|
|
10 |
|
11 |
st.set_page_config(layout="wide")
|
12 |
|
13 |
+
st.session_state.update(st.session_state)
|
14 |
+
|
15 |
+
if 'active_page' not in st.session_state:
|
16 |
+
st.session_state.active_page = 'NeuralGPT'
|
17 |
+
if "sidebar" not in st.session_state:
|
18 |
+
st.session_state.sidebar = True
|
19 |
if "server_Ports" not in st.session_state:
|
20 |
+
st.session_state['server_ports'] = False
|
21 |
if "client_Ports" not in st.session_state:
|
22 |
+
st.session_state['client_ports'] = False
|
23 |
+
if "userID" not in st.session_state:
|
24 |
+
st.session_state.userID = False
|
25 |
|
26 |
st.sidebar.title("NeuralGPT")
|
27 |
st.sidebar.info(
|
|
|
29 |
[GitHub](https://github.com/giswqs)
|
30 |
"""
|
31 |
)
|
32 |
+
|
33 |
+
async def main():
|
34 |
+
st.text("Server ports:")
|
35 |
serverPorts = st.sidebar.container(border=True)
|
36 |
+
serverPorts.markdown(st.session_state['server_Ports'])
|
37 |
st.sidebar.text("Client ports")
|
38 |
clientPorts = st.sidebar.container(border=True)
|
39 |
+
clientPorts.markdown(st.session_state['client_Ports'])
|
40 |
+
st.sidebar.text("Charavter.ai ID")
|
41 |
+
user_id = st.sidebar.container(border=True)
|
42 |
+
user_id.markdown(st.session_state.userID)
|
43 |
|
44 |
+
st.title("NeuralGPT")
|
45 |
|
46 |
+
st.markdown(
|
47 |
+
"""
|
48 |
+
This page is supposed to work as interface of a hierarchical cooperative multi-agent framework/platform called NeuralGPT
|
49 |
|
50 |
+
"""
|
51 |
+
)
|
52 |
|
53 |
+
st.info("Click on the left sidebar menu to navigate to the different apps.")
|
54 |
|
55 |
+
st.subheader("shit goes in here")
|
56 |
+
st.markdown(
|
57 |
+
"""
|
58 |
+
The following stuff is totally random no need to think about it too much.
|
59 |
"""
|
60 |
+
)
|
|
|
|
|
61 |
|
62 |
+
row1_col1, row1_col2 = st.columns(2)
|
63 |
+
with row1_col1:
|
64 |
|
65 |
+
st.image("https://i.postimg.cc/gk0LXT5p/earth6.gif")
|
66 |
+
st.image("https://i.postimg.cc/kM2d2NcZ/movie-18.gif")
|
67 |
+
st.image("https://i.postimg.cc/8z5ccf7z/Screenshot-2022-03-02-21-27-22-566-com-google-android-youtube.jpg")
|
68 |
+
st.image("https://i.postimg.cc/YqvTSppw/dh.gif")
|
69 |
+
st.image("https://i.postimg.cc/7PdxPGhr/bandicam-2018-11-13-04-33-29-245.jpg")
|
70 |
|
71 |
+
with row1_col2:
|
72 |
+
st.image("https://i.postimg.cc/X7nw1tFT/Neural-GPT.gif")
|
73 |
+
st.image("https://i.postimg.cc/qBwpKMVh/brain-cell-galaxy.jpg")
|
74 |
+
st.image("https://i.postimg.cc/T1sdWCL2/pyth.png")
|
75 |
+
st.image("https://i.postimg.cc/L8T5s9Gk/bandicam2023-02-0323-10-40-545-ezgif-com-speed.gif")
|
76 |
+
st.image("https://i.postimg.cc/rF5zvCJP/clocks5.gif")
|
77 |
|
78 |
asyncio.run(main())
|