Spaces:
Sleeping
Sleeping
sdripie
commited on
Commit
·
1eb1aae
1
Parent(s):
945314c
upd2
Browse files
app.py
CHANGED
|
@@ -45,8 +45,7 @@ if st.button("🔍 Get Answer"):
|
|
| 45 |
if table is not None and query:
|
| 46 |
table = table.astype(str) # Ensure all values are strings
|
| 47 |
result = pipe(table=table, query=query)
|
| 48 |
-
st.success("Answer:")
|
| 49 |
-
st.markdown(f"### {result['answer']}")
|
| 50 |
else:
|
| 51 |
st.warning("Please upload a table and enter a question before clicking 'Get Answer'.")
|
| 52 |
|
|
|
|
| 45 |
if table is not None and query:
|
| 46 |
table = table.astype(str) # Ensure all values are strings
|
| 47 |
result = pipe(table=table, query=query)
|
| 48 |
+
st.success(f"Answer:" {result['answer']}")
|
|
|
|
| 49 |
else:
|
| 50 |
st.warning("Please upload a table and enter a question before clicking 'Get Answer'.")
|
| 51 |
|