hertogateis commited on
Commit
9890a4d
·
verified ·
1 Parent(s): 008ce61

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -24,7 +24,7 @@ style = '''
24
  st.markdown(style, unsafe_allow_html=True)
25
 
26
  st.markdown('<p style="font-family:sans-serif;font-size: 1.9rem;"> HertogAI Table Q&A using TAPAS and Model Language</p>', unsafe_allow_html=True)
27
- st.markdown('<p style="font-family:sans-serif;font-size: 1.0rem;"> This code is based on Jordan Skinner. I recoded and enhanced it </p>', unsafe_allow_html=True)
28
  st.markdown("<p style='font-family:sans-serif;font-size: 1.2rem;'>Pre-trained TAPAS model runs on max 64 rows and 32 columns data. Make sure the file data doesn't exceed these dimensions.</p>", unsafe_allow_html=True)
29
 
30
 
@@ -42,7 +42,7 @@ file_name = st.sidebar.file_uploader("Upload file:", type=['csv', 'xlsx'])
42
 
43
  # File processing and question answering
44
  if file_name is None:
45
- st.markdown('<p class="font">Please click left side bar to upload an excel or csv file </p>', unsafe_allow_html=True)
46
  else:
47
  try:
48
  # Check file type and handle reading accordingly
 
24
  st.markdown(style, unsafe_allow_html=True)
25
 
26
  st.markdown('<p style="font-family:sans-serif;font-size: 1.9rem;"> HertogAI Table Q&A using TAPAS and Model Language</p>', unsafe_allow_html=True)
27
+ st.markdown('<p style="font-family:sans-serif;font-size: 1.0rem;"> This code is based on Jordan Skinner. I recoded and enhanced for Data analysis COUNT, AVG, TOTAL, MEAN & StdDev </p>', unsafe_allow_html=True)
28
  st.markdown("<p style='font-family:sans-serif;font-size: 1.2rem;'>Pre-trained TAPAS model runs on max 64 rows and 32 columns data. Make sure the file data doesn't exceed these dimensions.</p>", unsafe_allow_html=True)
29
 
30
 
 
42
 
43
  # File processing and question answering
44
  if file_name is None:
45
+ st.markdown('<p class="font-family:sans-serif;font-size: 1.9rem;">Please click left side bar to upload an excel or csv file </p>', unsafe_allow_html=True)
46
  else:
47
  try:
48
  # Check file type and handle reading accordingly