bachpc commited on
Commit
0566252
1 Parent(s): d29eac7

Fix layout

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -372,16 +372,16 @@ def main():
372
 
373
  filename = st.file_uploader('Upload image', type=['png', 'jpeg', 'jpg'])
374
 
375
- tabs = st.tabs(
376
- ['Table Detection', 'Table Structure Recognition']
377
- )
378
-
379
  if st.button('Analyze image'):
380
 
381
  if filename is None:
382
  st.write('Please upload an image')
383
 
384
  else:
 
 
 
 
385
  print(filename)
386
  pil_img = PIL.Image.open(filename)
387
 
 
372
 
373
  filename = st.file_uploader('Upload image', type=['png', 'jpeg', 'jpg'])
374
 
 
 
 
 
375
  if st.button('Analyze image'):
376
 
377
  if filename is None:
378
  st.write('Please upload an image')
379
 
380
  else:
381
+ tabs = st.tabs(
382
+ ['Table Detection', 'Table Structure Recognition']
383
+ )
384
+
385
  print(filename)
386
  pil_img = PIL.Image.open(filename)
387