Spaces:
Sleeping
Sleeping
Update pages/G.py
Browse files- pages/G.py +3 -8
pages/G.py
CHANGED
@@ -444,14 +444,8 @@ async def main():
|
|
444 |
chatbox.markdown("chuj")
|
445 |
|
446 |
with gr.Blocks() as demo:
|
447 |
-
chuje = st.container(border=True)
|
448 |
-
chuje.markdown("w pite")
|
449 |
with gr.Tabs(elem_classes="tab-buttons") as tabs:
|
450 |
-
|
451 |
-
chujee.markdown("w pitke")
|
452 |
-
with gr.TabItem("Websocket Server", elem_id="websocket_server", id=0):
|
453 |
-
chujew = st.container(border=True)
|
454 |
-
chujew.markdown("w pite 3")
|
455 |
with gr.Row():
|
456 |
chatarea = st.container(border=True)
|
457 |
chatarea.markdown(st.session_state['chat_history'])
|
@@ -551,6 +545,7 @@ async def main():
|
|
551 |
gr_port = int(gradioPort)
|
552 |
st.session_state.gradio_Port = gr_port
|
553 |
demo.queue()
|
554 |
-
demo.launch(server_port=gr_port)
|
|
|
555 |
|
556 |
asyncio.run(main())
|
|
|
444 |
chatbox.markdown("chuj")
|
445 |
|
446 |
with gr.Blocks() as demo:
|
|
|
|
|
447 |
with gr.Tabs(elem_classes="tab-buttons") as tabs:
|
448 |
+
with gr.TabItem("Websocket Server", elem_id="websocket_server", id=0):
|
|
|
|
|
|
|
|
|
449 |
with gr.Row():
|
450 |
chatarea = st.container(border=True)
|
451 |
chatarea.markdown(st.session_state['chat_history'])
|
|
|
545 |
gr_port = int(gradioPort)
|
546 |
st.session_state.gradio_Port = gr_port
|
547 |
demo.queue()
|
548 |
+
demo.launch(server_port=gr_port)
|
549 |
+
gradioPorts.markdown(st.session_state.gradio_Port)
|
550 |
|
551 |
asyncio.run(main())
|