Maxime Bourliatoux commited on
Commit
b3b3d34
1 Parent(s): 98e84a3

Small bug fix

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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():