Spaces:
Sleeping
Sleeping
INIFanalitica
commited on
Commit
•
9ef7b37
1
Parent(s):
08408bd
Update app.py
Browse files
app.py
CHANGED
@@ -20,12 +20,12 @@ def generate_gemini_content(prompt, model_name='gemini-pro-vision', image=None):
|
|
20 |
|
21 |
# Streamlit app
|
22 |
def main():
|
23 |
-
st.set_page_config(page_title="
|
24 |
|
25 |
# Configurar la API key de Gemini (reemplazar con tu clave de API de Gemini)
|
26 |
genai.configure(api_key='AIzaSyA4k6JoFNZsf8L1ixLMMRjEMoBPns5SHZk')
|
27 |
|
28 |
-
st.title("
|
29 |
st.sidebar.title("Configuración de Laura Chatbot")
|
30 |
|
31 |
# Configurar la API key de INIF
|
@@ -63,7 +63,7 @@ def main():
|
|
63 |
|
64 |
# Agregar contexto del INIF al input del usuario
|
65 |
inif_context = (
|
66 |
-
"I am an informative data analyst chatbot named
|
67 |
" If you have questions related to fraud or prevention, feel free to ask. For inquiries about other topics, I'll redirect you to the fraud prevention context."
|
68 |
"\n\nContact Information for INIF:"
|
69 |
"\nPhone: +57 317 638 94 71"
|
|
|
20 |
|
21 |
# Streamlit app
|
22 |
def main():
|
23 |
+
st.set_page_config(page_title="MAX Chatbot - INIF", page_icon="🤖")
|
24 |
|
25 |
# Configurar la API key de Gemini (reemplazar con tu clave de API de Gemini)
|
26 |
genai.configure(api_key='AIzaSyA4k6JoFNZsf8L1ixLMMRjEMoBPns5SHZk')
|
27 |
|
28 |
+
st.title("MAX Chatbot - INIF")
|
29 |
st.sidebar.title("Configuración de Laura Chatbot")
|
30 |
|
31 |
# Configurar la API key de INIF
|
|
|
63 |
|
64 |
# Agregar contexto del INIF al input del usuario
|
65 |
inif_context = (
|
66 |
+
"I am an informative data analyst chatbot named MAX, working for the National Institute of Fraud Research and Prevention (INIF), dedicated to fraud prevention and mitigation."
|
67 |
" If you have questions related to fraud or prevention, feel free to ask. For inquiries about other topics, I'll redirect you to the fraud prevention context."
|
68 |
"\n\nContact Information for INIF:"
|
69 |
"\nPhone: +57 317 638 94 71"
|