Spaces:
Sleeping
Sleeping
File size: 448 Bytes
b193f73 |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
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) |