Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ genai.configure(api_key='AIzaSyBt39XjHG0b0EbpxUTjkETGkk14WK0O5Vo')
|
|
6 |
|
7 |
model = genai.GenerativeModel('gemini-pro')
|
8 |
chat = model.start_chat(history=[])
|
|
|
9 |
while True:
|
10 |
-
query = st.text_area("Ask: ")
|
11 |
response = chat.send_message(query)
|
12 |
st.write(response.text)
|
|
|
6 |
|
7 |
model = genai.GenerativeModel('gemini-pro')
|
8 |
chat = model.start_chat(history=[])
|
9 |
+
query = st.text_area("Ask: ")
|
10 |
while True:
|
|
|
11 |
response = chat.send_message(query)
|
12 |
st.write(response.text)
|