File size: 533 Bytes
4c8c217
 
b1d9a7f
4c8c217
b1d9a7f
4c8c217
b0d0303
4c8c217
 
c46950c
6b80b65
1572555
 
 
6b80b65
1572555
 
 
 
 
edb84ad
6b80b65
4c8c217
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import streamlit as st

st.set_page_config(page_title= "Chat with Websites", page_icon="🤖")

st.title("Chat with Websites")

with st.sidebar:
    st.header("Settings")
    website_url = st.text_input("Website URL")
    openai_apikey = st.text_input("Enter your OpenAI API key")

user_query = st.chat_input("Type your message here...")
    if user_query is not None and user_query !="":
        

    with st.chat_message("Human"):
        st.write(user_query)
    
    with st.chat_message("AI"):
        st.write("No")