Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,7 +6,7 @@ import streamlit as st
|
|
| 6 |
st.set_page_config(page_title="Gemini Chatbot", layout="wide")
|
| 7 |
|
| 8 |
st.markdown("""
|
| 9 |
-
<h1 style="text-align:center; color: #FF4500;">Welcome To Gemini CodeReviewer.....</h1>
|
| 10 |
""", unsafe_allow_html=True)
|
| 11 |
|
| 12 |
|
|
@@ -16,7 +16,6 @@ import google.generativeai as genai
|
|
| 16 |
# Configure Gemini API Key
|
| 17 |
genai.configure(api_key="AIzaSyBm0GOvYox4OyRG1WFOK7FT5fnNCHfubns")
|
| 18 |
|
| 19 |
-
st.title("🤖 Chatbot using Gemini API")
|
| 20 |
|
| 21 |
# Function to get Gemini response
|
| 22 |
def get_gemini_response(prompt):
|
|
|
|
| 6 |
st.set_page_config(page_title="Gemini Chatbot", layout="wide")
|
| 7 |
|
| 8 |
st.markdown("""
|
| 9 |
+
<h1 style="text-align:center; color: #FF4500;">Welcome To Gemini CodeReviewer using Gemini API.....</h1>
|
| 10 |
""", unsafe_allow_html=True)
|
| 11 |
|
| 12 |
|
|
|
|
| 16 |
# Configure Gemini API Key
|
| 17 |
genai.configure(api_key="AIzaSyBm0GOvYox4OyRG1WFOK7FT5fnNCHfubns")
|
| 18 |
|
|
|
|
| 19 |
|
| 20 |
# Function to get Gemini response
|
| 21 |
def get_gemini_response(prompt):
|