support / app.py
gofeco's picture
Create app.py
b7c38f0 verified
raw
history blame
No virus
272 Bytes
import sys
sys.path.insert(0, '.')
import nand
import streamlit as st
para = nand.setupDB("en", 10)
print("Ready to receive from chat client")
query = st.text_input("Enter a query about ECO:")
if query:
response = nand.process_query(query, para)
st.text(response)