File size: 548 Bytes
ea24308
79c71c4
 
9f7d07d
ea24308
 
 
79c71c4
48648f7
9f7d07d
48648f7
9f7d07d
 
48648f7
9f7d07d
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import streamlit as st
from assist.chat import chat as embed_chat
from assist.bayes_chat import bayes_chat
from assist.transformer_demo import transformer_next

st.title("RepoSage Chatbot Demo")

question = st.text_input("Enter your question below:")

col1, col2, col3 = st.columns(3)
with col1:
    if st.button("Embedding Q&A"):
        st.write(embed_chat(question))
with col2:
    if st.button("Bayesian Q&A"):
        st.write(bayes_chat(question))
with col3:
    if st.button("Transformer Demo"):
        st.write(transformer_next(question))