tahamueed23 commited on
Commit
95220d2
·
verified ·
1 Parent(s): 91067e1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -397,10 +397,14 @@ with gr.Blocks(theme=gr.themes.Soft(), css=custom_css, fill_width=True) as demo:
397
 
398
  with gr.Row():
399
  with gr.Column(scale=4):
 
400
  output_table = gr.Dataframe(
401
  label="Recent Submissions",
402
  wrap=True,
403
- height=300
 
 
 
404
  )
405
  with gr.Column(scale=1):
406
  with gr.Row():
 
397
 
398
  with gr.Row():
399
  with gr.Column(scale=4):
400
+ # FIXED: Removed 'height' parameter, using 'max_height' instead
401
  output_table = gr.Dataframe(
402
  label="Recent Submissions",
403
  wrap=True,
404
+ max_height=300, # Changed from height to max_height
405
+ show_row_numbers=True, # Added for better UX
406
+ show_copy_button=True, # Added for convenience
407
+ show_fullscreen_button=True # Added for better viewing
408
  )
409
  with gr.Column(scale=1):
410
  with gr.Row():