Update app.py
Browse files
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 |
-
|
|
|
|
|
|
|
|
|
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
|