Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -27,10 +27,8 @@ st.title("SiffyLab 💬")
|
|
| 27 |
question = st.text_input("Question: ")
|
| 28 |
|
| 29 |
if question:
|
| 30 |
-
db_name = "si_paap_pim"
|
| 31 |
chain = get_sql_db_chain(db_name)
|
| 32 |
-
response =
|
| 33 |
-
#response = ans_question(question)
|
| 34 |
st.header("Answer")
|
| 35 |
st.write(response)
|
| 36 |
|
|
|
|
| 27 |
question = st.text_input("Question: ")
|
| 28 |
|
| 29 |
if question:
|
|
|
|
| 30 |
chain = get_sql_db_chain(db_name)
|
| 31 |
+
response = question
|
|
|
|
| 32 |
st.header("Answer")
|
| 33 |
st.write(response)
|
| 34 |
|