Spaces:
Sleeping
Sleeping
File size: 562 Bytes
304ffc8 |
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 |
#Generic
import os
import keyfile
import streamlit as st
import warnings
warnings.filerwarnings("ignore")
#Langchain Packages
from langchain_google_genai import ChatGoogleGenerativeAI
from langchain.schema import HumanMessage, SystemMessage, AIMessage
#First message that will pop on the screen
st.set_page_config(page title = "Magical Healer")
st.header("Welcome, How can I help you?")
#Configure the key
os.environ["GOOGLE_API_KEY"] = keyfile.GOOGLEKEY
#User message
def get_text():
input_text=st.text_input("You: ", key=input)
return input_text
|