Prakruti_LLM / stream.py
Rohankumar31's picture
Upload 4 files
b193f73
raw
history blame
448 Bytes
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)