Spaces:
Sleeping
Sleeping
import streamlit as st | |
from bardapi import Bard | |
uri = os.enviro["BARD_API_KEY"] | |
quora = Bard(token == uri) | |
def Chatbot(): | |
st.title("Chatbot") | |
if query := st.chat_input("enter your message"): | |
umsg = bard.get_answer(query) | |
with st.chat_message("user"): | |
st.write("umsg") | |
Chatbot() | |