Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -14,6 +14,8 @@ import io
|
|
14 |
from bullets.generator import create_bullet_instruction
|
15 |
# Import the bonus generator
|
16 |
from bonuses.generator import create_bonus_instruction
|
|
|
|
|
17 |
|
18 |
# Set page to wide mode to use full width
|
19 |
st.set_page_config(layout="wide")
|
@@ -25,9 +27,6 @@ load_dotenv()
|
|
25 |
genai.configure(api_key=os.getenv('GOOGLE_API_KEY'))
|
26 |
model = genai.GenerativeModel('gemini-2.0-flash')
|
27 |
|
28 |
-
# Import the create_offer_instruction function from formulas
|
29 |
-
from formulas import create_offer_instruction, offer_formulas
|
30 |
-
|
31 |
# Initialize session state variables if they don't exist
|
32 |
if 'submitted' not in st.session_state:
|
33 |
st.session_state.submitted = False
|
|
|
14 |
from bullets.generator import create_bullet_instruction
|
15 |
# Import the bonus generator
|
16 |
from bonuses.generator import create_bonus_instruction
|
17 |
+
# Import the offer instruction generator
|
18 |
+
from prompts import create_offer_instruction
|
19 |
|
20 |
# Set page to wide mode to use full width
|
21 |
st.set_page_config(layout="wide")
|
|
|
27 |
genai.configure(api_key=os.getenv('GOOGLE_API_KEY'))
|
28 |
model = genai.GenerativeModel('gemini-2.0-flash')
|
29 |
|
|
|
|
|
|
|
30 |
# Initialize session state variables if they don't exist
|
31 |
if 'submitted' not in st.session_state:
|
32 |
st.session_state.submitted = False
|