JBHF commited on
Commit
705b7c4
·
verified ·
1 Parent(s): 74f814f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -0
app.py CHANGED
@@ -334,6 +334,15 @@ if "messages" not in st.session_state:
334
  for msg in st.session_state.messages:
335
  st.chat_message(msg["role"]).write(msg["content"])
336
 
 
 
 
 
 
 
 
 
 
337
  if prompt := st.chat_input():
338
  #if not openai_api_key:
339
  # st.info("Please add your OpenAI API key to continue.")
 
334
  for msg in st.session_state.messages:
335
  st.chat_message(msg["role"]).write(msg["content"])
336
 
337
+
338
+ # TAAL KIEZER
339
+ option = st.selectbox(
340
+ 'In welke taal wilt U Uw vragen stellen en de AI laten antwoorden? Keuzemogelijkheden zijn : Nederlands, Engels, Duits, Frans, Spaans.',
341
+ ('Nederlands', 'Engels', 'Duits', 'Frans', 'Spaans'))
342
+
343
+ st.write('You selected:', option)
344
+
345
+
346
  if prompt := st.chat_input():
347
  #if not openai_api_key:
348
  # st.info("Please add your OpenAI API key to continue.")