File size: 476 Bytes
1744191
 
43a369b
b5e0c7e
99fb1b8
 
2a73f32
43a369b
 
 
 
 
1744191
b5e0c7e
 
794a40f
99fb1b8
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import streamlit as st
from st_app import launch_bot
import uuid

import nest_asyncio
import asyncio

# Setup for HTTP API Calls to Amplitude Analytics
if 'device_id' not in st.session_state:
    st.session_state.device_id = str(uuid.uuid4())

if "feedback_key" not in st.session_state:
    st.session_state.feedback_key = 0

if __name__ == "__main__":
    st.set_page_config(page_title="Legal Assistant", layout="wide")
    nest_asyncio.apply()
    asyncio.run(launch_bot())