Spaces:
Runtime error
Runtime error
Maxime Bourliatoux
commited on
Commit
•
b3b3d34
1
Parent(s):
98e84a3
Small bug fix
Browse files
app.py
CHANGED
@@ -72,7 +72,7 @@ def generate_email(prompt: str, max_tokens: int = 256) -> str:
|
|
72 |
|
73 |
def company_type_changed():
|
74 |
company_type = st.session_state['company_type']
|
75 |
-
st.session_state['offer'] = choice(EXAMPLE_OFFERS.get(company_type))
|
76 |
|
77 |
|
78 |
def main():
|
|
|
72 |
|
73 |
def company_type_changed():
|
74 |
company_type = st.session_state['company_type']
|
75 |
+
st.session_state['offer'] = choice(EXAMPLE_OFFERS.get(company_type, ["Premier contact client"]))
|
76 |
|
77 |
|
78 |
def main():
|