Update app.py
Browse files
app.py
CHANGED
@@ -54,10 +54,11 @@ def read_sql_query(sql,db):
|
|
54 |
st.set_page_config("DataChat: Explore Your Database")
|
55 |
st.header("DataChat: Chat With SQL Database")
|
56 |
|
57 |
-
|
58 |
|
59 |
-
question=st.text_input("
|
60 |
-
|
|
|
61 |
|
62 |
input=f"{question} in {table_name} table"
|
63 |
|
|
|
54 |
st.set_page_config("DataChat: Explore Your Database")
|
55 |
st.header("DataChat: Chat With SQL Database")
|
56 |
|
57 |
+
|
58 |
|
59 |
+
question=st.text_input("Enter your input/question",key="question_input")
|
60 |
+
|
61 |
+
table_name = st.text_input("Enter the correct table name",key="question_input")
|
62 |
|
63 |
input=f"{question} in {table_name} table"
|
64 |
|