File size: 683 Bytes
ccd7971
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import appi as ap
import accurate as acc
import vision as vis
import streamlit as st
import documentchat as dc
from vector_search import ensure_index_exists
ensure_index_exists()
st.sidebar.title="Smart Chat Assisstant"

# Add a dropdown to select a page
page = st.sidebar.selectbox("Select Model", ("Chat With Your Data", "Accurate", "Vision","Chat With Your Documents locally"))

# Display different content based on the selected page
if page == "Chat With Your Data":
    ensure_index_exists()
    ap.fasto()

elif page == "Accurate":
    acc.accuto()

elif page == "Vision":
    vis.visoto()

elif page == "Chat With Your Documents locally":
    dc.docu()