Spaces:
Sleeping
Sleeping
File size: 462 Bytes
4adef30 7536c5d 4adef30 7536c5d 3e19cc5 7536c5d 3e19cc5 7536c5d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
import streamlit as st
from assist.chat import chat as embed_chat
from assist.bayes_chat import bayes_chat
st.title("RepoSage Chatbot Demo")
question = st.text_input("Enter your question below:")
col1, col2 = st.columns(2)
with col1:
if st.button("Ask Embedding RepoSage"):
answer = embed_chat(question)
st.write(answer)
with col2:
if st.button("Ask Bayesian RepoSage"):
answer = bayes_chat(question)
st.write(answer)
|