KeshavRa commited on
Commit
1e18d82
·
verified ·
1 Parent(s): 67f75f1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -438,10 +438,12 @@ if selected_app == "4) Create Chatbot":
438
 
439
  # Return the list of dictionaries
440
  return result
 
 
441
 
442
  st.sidebar.markdown('''This is a chatbot to help you learn more about {organization_name}''')
443
 
444
- domain = st.sidebar.selectbox("Select a topic", {[domain["name"] for domain in domain_info]})
445
 
446
  special_threshold = 0.3
447
 
@@ -452,14 +454,12 @@ if selected_app == "4) Create Chatbot":
452
  if clear_button:
453
  st.session_state.messages = []
454
  st.session_state.curr_domain = ""
455
-
456
-
457
-
458
- ###
459
  ###
460
- ### Load the dataset from a provided source.
461
  ###
462
- ###
 
463
 
464
  initial_input = "Tell me about {organization_name}"
465
 
 
438
 
439
  # Return the list of dictionaries
440
  return result
441
+
442
+ domain_info = {domain_info}
443
 
444
  st.sidebar.markdown('''This is a chatbot to help you learn more about {organization_name}''')
445
 
446
+ domain = st.sidebar.selectbox("Select a topic", {{[domain["name"] for domain in domain_info]}})
447
 
448
  special_threshold = 0.3
449
 
 
454
  if clear_button:
455
  st.session_state.messages = []
456
  st.session_state.curr_domain = ""
457
+
458
+ # Load the dataset from a provided source.
 
 
459
  ###
 
460
  ###
461
+ ####
462
+ ##
463
 
464
  initial_input = "Tell me about {organization_name}"
465