awacke1 commited on
Commit
73e305f
โ€ข
1 Parent(s): 6cd3980

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +32 -32
app.py CHANGED
@@ -578,63 +578,63 @@ import streamlit as st
578
  def StreamMedChatResponse(topic):
579
  st.write(f"Showing resources or questions related to: {topic}")
580
 
581
- def add_medical_exam_buttons():
582
- with st.expander("Medical Licensing Exam Topics ๐Ÿ“š", expanded=True):
583
- st.markdown("๐Ÿฉบ **Important**: This section provides a variety of medical topics that are often encountered in medical licensing exams.")
584
 
585
- # Define medical exam terminology descriptions
586
  descriptions = {
587
- "Ultrasound with Doppler ๐ŸŒŠ": "Questions related to Doppler Ultrasound imaging techniques ๐ŸŽฅ",
588
- "Oseltamivir ๐Ÿฆ ": "Questions about the antiviral medication Oseltamivir ๐Ÿ’Š",
589
- "IM Epinephrine ๐Ÿ’‰": "Questions related to intramuscular administration of epinephrine ๐Ÿ’ช",
590
- "Hypokalemia ๐ŸŒ": "Questions pertaining to low potassium levels in blood ๐Ÿฉธ",
591
- "Succinylcholine ๐Ÿ’Š": "Questions on the use and side-effects of Succinylcholine ๐Ÿš‘",
592
- "Testicular Torsion ๐Ÿค•": "Questions related to the diagnosis and treatment of testicular torsion ๐Ÿฅ",
593
- "Phosphoinositol System ๐Ÿงฌ": "Questions about the Phosphoinositol signalling system ๐Ÿ› ",
594
- "Ramipril ๐Ÿ’Š": "Questions related to the ACE inhibitor Ramipril ๐Ÿฉบ"
595
  }
596
 
597
  # Create columns
598
  col1, col2, col3, col4 = st.columns([1, 1, 1, 1], gap="small")
599
 
600
  # Add buttons to columns
601
- if col1.button("Ultrasound with Doppler ๐ŸŒŠ"):
602
- StreamLLMChatResponse(descriptions["Ultrasound with Doppler ๐ŸŒŠ"])
603
 
604
- if col2.button("Oseltamivir ๐Ÿฆ "):
605
- StreamLLMChatResponse(descriptions["Oseltamivir ๐Ÿฆ "])
606
 
607
- if col3.button("IM Epinephrine ๐Ÿ’‰"):
608
- StreamLLMChatResponse(descriptions["IM Epinephrine ๐Ÿ’‰"])
609
 
610
- if col4.button("Hypokalemia ๐ŸŒ"):
611
- StreamLLMChatResponse(descriptions["Hypokalemia ๐ŸŒ"])
612
 
613
  col5, col6, col7, col8 = st.columns([1, 1, 1, 1], gap="small")
614
 
615
- if col5.button("Succinylcholine ๐Ÿ’Š"):
616
- StreamLLMChatResponse(descriptions["Succinylcholine ๐Ÿ’Š"])
617
 
618
- if col6.button("Testicular Torsion ๐Ÿค•"):
619
- StreamLLMChatResponse(descriptions["Testicular Torsion ๐Ÿค•"])
620
 
621
- if col7.button("Phosphoinositol System ๐Ÿงฌ"):
622
- StreamLLMChatResponse(descriptions["Phosphoinositol System ๐Ÿงฌ"])
 
 
 
623
 
624
- if col8.button("Ramipril ๐Ÿ’Š"):
625
- StreamLLMChatResponse(descriptions["Ramipril ๐Ÿ’Š"])
626
-
627
-
628
 
629
  # 17. Main
630
  def main():
631
 
632
- st.title("GAIA - Medical License Exam Testing")
633
  prompt = f"Write ten funny jokes that are tweet length stories that make you laugh. Show as markdown outline with emojis for each."
634
 
635
  # Add Wit and Humor buttons
636
  # add_witty_humor_buttons()
637
- add_medical_exam_buttons()
 
638
 
639
  example_input = st.text_input("Enter your example text:", value=prompt, help="Enter text to get a response from DromeLlama.")
640
  if st.button("Run Prompt With DromeLlama", help="Click to run the prompt."):
 
578
  def StreamMedChatResponse(topic):
579
  st.write(f"Showing resources or questions related to: {topic}")
580
 
581
+ def add_multi_system_agent_topics():
582
+ with st.expander("Multi-System Agent AI Topics ๐Ÿค–", expanded=True):
583
+ st.markdown("๐Ÿค– **Explore Multi-System Agent AI Topics**: This section provides a variety of topics related to multi-system agent AI systems.")
584
 
585
+ # Define multi-system agent AI topics and descriptions
586
  descriptions = {
587
+ "Reinforcement Learning ๐ŸŽฎ": "Questions related to reinforcement learning algorithms and applications ๐Ÿ•น๏ธ",
588
+ "Natural Language Processing ๐Ÿ—ฃ๏ธ": "Questions about natural language processing techniques and chatbot development ๐Ÿ—จ๏ธ",
589
+ "Multi-Agent Systems ๐Ÿค": "Questions pertaining to multi-agent systems and cooperative AI interactions ๐Ÿค–",
590
+ "Conversational AI ๐Ÿ—จ๏ธ": "Questions on building conversational AI agents and chatbots for various platforms ๐Ÿ’ฌ",
591
+ "Distributed AI Systems ๐ŸŒ": "Questions about distributed AI systems and their implementation in networked environments ๐ŸŒ",
592
+ "AI Ethics and Bias ๐Ÿค”": "Questions related to ethics and bias considerations in AI systems and decision-making ๐Ÿง ",
593
+ "AI in Healthcare ๐Ÿฅ": "Questions about the application of AI in healthcare and medical diagnosis ๐Ÿฉบ",
594
+ "AI in Autonomous Vehicles ๐Ÿš—": "Questions on the use of AI in autonomous vehicles and self-driving technology ๐Ÿš—"
595
  }
596
 
597
  # Create columns
598
  col1, col2, col3, col4 = st.columns([1, 1, 1, 1], gap="small")
599
 
600
  # Add buttons to columns
601
+ if col1.button("Reinforcement Learning ๐ŸŽฎ"):
602
+ st.write(descriptions["Reinforcement Learning ๐ŸŽฎ"])
603
 
604
+ if col2.button("Natural Language Processing ๐Ÿ—ฃ๏ธ"):
605
+ st.write(descriptions["Natural Language Processing ๐Ÿ—ฃ๏ธ"])
606
 
607
+ if col3.button("Multi-Agent Systems ๐Ÿค"):
608
+ st.write(descriptions["Multi-Agent Systems ๐Ÿค"])
609
 
610
+ if col4.button("Conversational AI ๐Ÿ—จ๏ธ"):
611
+ st.write(descriptions["Conversational AI ๐Ÿ—จ๏ธ"])
612
 
613
  col5, col6, col7, col8 = st.columns([1, 1, 1, 1], gap="small")
614
 
615
+ if col5.button("Distributed AI Systems ๐ŸŒ"):
616
+ st.write(descriptions["Distributed AI Systems ๐ŸŒ"])
617
 
618
+ if col6.button("AI Ethics and Bias ๐Ÿค”"):
619
+ st.write(descriptions["AI Ethics and Bias ๐Ÿค”"])
620
 
621
+ if col7.button("AI in Healthcare ๐Ÿฅ"):
622
+ st.write(descriptions["AI in Healthcare ๐Ÿฅ"])
623
+
624
+ if col8.button("AI in Autonomous Vehicles ๐Ÿš—"):
625
+ st.write(descriptions["AI in Autonomous Vehicles ๐Ÿš—"])
626
 
 
 
 
 
627
 
628
  # 17. Main
629
  def main():
630
 
631
+ st.title("Try Some Topics:")
632
  prompt = f"Write ten funny jokes that are tweet length stories that make you laugh. Show as markdown outline with emojis for each."
633
 
634
  # Add Wit and Humor buttons
635
  # add_witty_humor_buttons()
636
+ # Calling the function to add the multi-system agent AI topics buttons
637
+ add_multi_system_agent_topics()
638
 
639
  example_input = st.text_input("Enter your example text:", value=prompt, help="Enter text to get a response from DromeLlama.")
640
  if st.button("Run Prompt With DromeLlama", help="Click to run the prompt."):