Spaces:
Sleeping
Sleeping
Upload 13 files
Browse files
app.py
CHANGED
|
@@ -4,8 +4,8 @@ import joblib
|
|
| 4 |
import streamlit as st
|
| 5 |
import google.generativeai as genai
|
| 6 |
from dotenv import load_dotenv
|
| 7 |
-
from reel_formulas import puv_formulas
|
| 8 |
-
from system_prompts import get_unified_puv_prompt
|
| 9 |
from session_state import SessionState
|
| 10 |
|
| 11 |
# Inicializar el estado de la sesi贸n
|
|
@@ -261,7 +261,7 @@ if not state.has_messages():
|
|
| 261 |
display_examples()
|
| 262 |
|
| 263 |
# Inicializar el chat con el prompt unificado
|
| 264 |
-
system_prompt =
|
| 265 |
if state.chat is not None: # Verificaci贸n adicional de seguridad
|
| 266 |
state.chat.send_message(system_prompt)
|
| 267 |
else:
|
|
|
|
| 4 |
import streamlit as st
|
| 5 |
import google.generativeai as genai
|
| 6 |
from dotenv import load_dotenv
|
| 7 |
+
from reel_formulas import reel_formulas # Cambiar de puv_formulas a reel_formulas
|
| 8 |
+
from system_prompts import get_unified_reel_prompt # Cambiar de get_unified_puv_prompt a get_unified_reel_prompt
|
| 9 |
from session_state import SessionState
|
| 10 |
|
| 11 |
# Inicializar el estado de la sesi贸n
|
|
|
|
| 261 |
display_examples()
|
| 262 |
|
| 263 |
# Inicializar el chat con el prompt unificado
|
| 264 |
+
system_prompt = get_unified_reel_prompt() # Cambiar de get_unified_puv_prompt a get_unified_reel_prompt
|
| 265 |
if state.chat is not None: # Verificaci贸n adicional de seguridad
|
| 266 |
state.chat.send_message(system_prompt)
|
| 267 |
else:
|