hertogateis commited on
Commit
8111a53
·
verified ·
1 Parent(s): 1bf821b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -40,6 +40,8 @@ t5_model = T5ForConditionalGeneration.from_pretrained("t5-small")
40
  # File uploader in the sidebar
41
  file_name = st.sidebar.file_uploader("Upload file:", type=['csv', 'xlsx'])
42
 
 
 
43
  st.markdown("""
44
  <style>
45
  .custom-font {
@@ -49,8 +51,7 @@ st.markdown("""
49
  </style>
50
  """, unsafe_allow_html=True)
51
 
52
- # File processing and question answering
53
- if file_name is None:
54
  st.markdown('<p class="custom-font">Please click left side bar to upload an excel or csv file </p>', unsafe_allow_html=True)
55
  else:
56
  try:
 
40
  # File uploader in the sidebar
41
  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("""
46
  <style>
47
  .custom-font {
 
51
  </style>
52
  """, unsafe_allow_html=True)
53
 
54
+
 
55
  st.markdown('<p class="custom-font">Please click left side bar to upload an excel or csv file </p>', unsafe_allow_html=True)
56
  else:
57
  try: