gofeco commited on
Commit
b7c38f0
1 Parent(s): a2fcf0c

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -0
app.py ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ import sys
2
+ sys.path.insert(0, '.')
3
+ import nand
4
+ import streamlit as st
5
+ para = nand.setupDB("en", 10)
6
+ print("Ready to receive from chat client")
7
+ query = st.text_input("Enter a query about ECO:")
8
+ if query:
9
+ response = nand.process_query(query, para)
10
+ st.text(response)