File size: 520 Bytes
a6a85af
9c563f3
6db8557
 
a6a85af
ca7164b
 
 
9c563f3
 
b8958bb
 
 
 
 
6db8557
b5e0c7e
 
86f5f56
6db8557
ce90730
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import streamlit as st
import torch
from st_app import launch_bot
import uuid

import nest_asyncio
import asyncio

torch.classes.__path__ = []

# 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="Supermicro Assistant", layout="wide")
   nest_asyncio.apply()
   asyncio.run(launch_bot())