thisisdev commited on
Commit
db1effe
·
verified ·
1 Parent(s): 40ce3f0
Files changed (1) hide show
  1. app.py +14 -1
app.py CHANGED
@@ -7,4 +7,17 @@ warnings.filterwarnings("ignore")
7
 
8
  # Langchain packages
9
  from langchain_google_genai import ChatGoogleGenerativeAI
10
- from langchain.schema import HumanMessage, SystemMessage, AIMessage
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
 
8
  # Langchain packages
9
  from langchain_google_genai import ChatGoogleGenerativeAI
10
+ from langchain.schema import HumanMessage, SystemMessage, AIMessage
11
+
12
+ # First message that will pop on the screen
13
+ st.set_page_config(page_title = "Magical Healer")
14
+ st.header("Welcome, What help do you need?")
15
+
16
+ # Configuring the key
17
+ os.environ["GOOGLE_API_KEY"] = keyfile.GOOGLEKEY
18
+
19
+ # User message
20
+ def get_text():
21
+ input_text = st.text_input("You: ", key = input)
22
+ return input_text
23
+