Spaces:
Runtime error
Runtime error
KunaalNaik
commited on
Commit
•
80fcb0c
1
Parent(s):
cc3affe
Update app.py
Browse files
app.py
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
import streamlit as st
|
2 |
from langchain_google_genai import ChatGoogleGenerativeAI
|
3 |
|
4 |
-
st.title("Gemini ChatBOT")
|
5 |
-
|
6 |
# Set the app to wide mode
|
7 |
st.set_page_config(layout="wide")
|
8 |
|
|
|
|
|
9 |
def llm_response(user_input):
|
10 |
llm = ChatGoogleGenerativeAI(model="gemini-pro")
|
11 |
result = llm.invoke(user_input)
|
|
|
1 |
import streamlit as st
|
2 |
from langchain_google_genai import ChatGoogleGenerativeAI
|
3 |
|
|
|
|
|
4 |
# Set the app to wide mode
|
5 |
st.set_page_config(layout="wide")
|
6 |
|
7 |
+
st.title("Gemini ChatBOT")
|
8 |
+
|
9 |
def llm_response(user_input):
|
10 |
llm = ChatGoogleGenerativeAI(model="gemini-pro")
|
11 |
result = llm.invoke(user_input)
|