devin-ai commited on
Commit
5bed307
·
verified ·
1 Parent(s): dda7aa3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -55,7 +55,11 @@ def read_sql_query(sql,db):
55
  st.set_page_config("DataChat: Explore Your Database")
56
  st.header("chat with your sql database")
57
 
58
- input=st.text_input("enter your input/question and specify correct table name")
 
 
 
 
59
 
60
 
61
  #save uploaded file
 
55
  st.set_page_config("DataChat: Explore Your Database")
56
  st.header("chat with your sql database")
57
 
58
+ table_name = st.text_input("Enter the correct table name"")
59
+
60
+ question=st.text_input("enter your input/question")
61
+
62
+ input=f"{question} in {table_name} table"
63
 
64
 
65
  #save uploaded file