Anshini commited on
Commit
21703b6
ยท
verified ยท
1 Parent(s): 9f28f76

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +19 -8
app.py CHANGED
@@ -16,28 +16,35 @@ def switch_page(page_name):
16
 
17
  # Home page with buttons for different domains
18
  if st.session_state.page == "home":
19
- st.title("๐Ÿค– ChatGenius Hub: Master Every Data Skills")
20
  st.markdown("Choose a domain to chat with an expert model:")
21
 
22
  col1, col2, col3 = st.columns(3)
23
  with col1:
24
  if st.button("Python ๐Ÿ"):
25
  switch_page("python")
26
- if st.button("Machine Learning ๐Ÿค–"):
27
- switch_page("ml")
 
28
 
29
 
30
  with col2:
31
  if st.button("SQL ๐Ÿ›ข๏ธ"):
32
  switch_page("sql")
33
- if st.button("Deep Learning ๐Ÿง "):
34
- switch_page("deeplearning")
 
35
 
36
  with col3:
37
  if st.button("Power BI ๐Ÿ“Š"):
38
- switch_page("powerbi")
39
- if st.button("Statistics ๐Ÿ“ˆ"):
40
- switch_page("statistics")
 
 
 
 
 
41
 
42
  # Example domain-specific chatbot page
43
  elif st.session_state.page == "python":
@@ -66,6 +73,10 @@ elif st.session_state.page == "statistics":
66
  st.title("Statistics Chatbot ๐Ÿ“ˆ")
67
  st.button("โฌ…๏ธ Back to Home", on_click=lambda: switch_page("home"))
68
 
 
 
 
 
69
 
70
 
71
 
 
16
 
17
  # Home page with buttons for different domains
18
  if st.session_state.page == "home":
19
+ st.title("๐Ÿค– Innomatics ChatGenius Hub")
20
  st.markdown("Choose a domain to chat with an expert model:")
21
 
22
  col1, col2, col3 = st.columns(3)
23
  with col1:
24
  if st.button("Python ๐Ÿ"):
25
  switch_page("python")
26
+ if st.button("Statistics ๐Ÿ“ˆ"):
27
+ switch_page("statistics")
28
+
29
 
30
 
31
  with col2:
32
  if st.button("SQL ๐Ÿ›ข๏ธ"):
33
  switch_page("sql")
34
+ if st.button("Machine Learning ๐Ÿค–"):
35
+ switch_page("ml")
36
+
37
 
38
  with col3:
39
  if st.button("Power BI ๐Ÿ“Š"):
40
+ switch_page("powerbi")
41
+ if st.button("Deep Learning ๐Ÿง "):
42
+ switch_page("deeplearning")
43
+ with col2:
44
+ if st.button("GenAI๐Ÿ”ฎ๐Ÿค–"):
45
+ switch_page("genai")
46
+
47
+
48
 
49
  # Example domain-specific chatbot page
50
  elif st.session_state.page == "python":
 
73
  st.title("Statistics Chatbot ๐Ÿ“ˆ")
74
  st.button("โฌ…๏ธ Back to Home", on_click=lambda: switch_page("home"))
75
 
76
+ elif st.session_state.page == "genai":
77
+ st.title("GenAI Chatbot ๐Ÿ“ˆ")
78
+ st.button("โฌ…๏ธ Back to Home", on_click=lambda: switch_page("home"))
79
+
80
 
81
 
82