Spaces:
Sleeping
Sleeping
import streamlit as st | |
import main | |
st.title("Health Suggestions") | |
query = st.text_input("Enter your Query:",value="food for vata people",help="Ex: Food suggestions for Vata people") | |
received_data = None | |
def receive_data(data): | |
global received_data | |
received_data = main.prints(data) | |
if st.button("Process"): | |
# Call the Python file to process the query | |
st.write("Processed Result:") | |
receive_data(query) | |
st.write(received_data) |