Manoj779944's picture
Upload 9 files
96c153e verified
raw
history blame
500 Bytes
import streamlit as st
from virtualhealth import handle_user_query # Import your function
st.set_page_config(page_title="AI Health Assistant", page_icon="🩺")
st.title("🩺 AI Health Assistant")
st.write("Ask any medical-related questions below:")
# User Input
user_input = st.text_input("Your Question:")
# Button to Process Query
if st.button("Ask"):
bot_response = handle_user_query(user_input) # Call function directly
st.markdown(f"**🤖 Bot:** {bot_response}")