Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -18,8 +18,8 @@ if file_name is not None:
|
|
18 |
df = pd.read_excel(file_name)
|
19 |
df = df.astype(str)
|
20 |
|
21 |
-
st.markdown("<p style='font-family:sans-serif;font-size: 0.9rem;'> Data </p>",unsafe_allow_html = True)
|
22 |
-
st.table(df)
|
23 |
|
24 |
question = st.text_input('Type your question')
|
25 |
with st.spinner():
|
|
|
18 |
df = pd.read_excel(file_name)
|
19 |
df = df.astype(str)
|
20 |
|
21 |
+
st.markdown("<p style='font-family:sans-serif;font-size: 0.9rem;'> Data - Top 5 records</p>",unsafe_allow_html = True)
|
22 |
+
st.table(df.head(5))
|
23 |
|
24 |
question = st.text_input('Type your question')
|
25 |
with st.spinner():
|