Jesse-marqo commited on
Commit
99c91ef
·
verified ·
1 Parent(s): 3ca6545

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -14,8 +14,5 @@ file_path = "merged-averaged-model_timings_2.1.0_12.1_NVIDIA_A10G_False.csv"
14
  # Call the display_csv function with the hardcoded file path
15
  html_table_output = display_csv(file_path)
16
 
17
- # Define the output component
18
- output_text = gr.outputs.HTML(label="CSV File Preview")
19
-
20
  # Create the Gradio interface
21
- gr.Interface(fn=lambda: html_table_output, inputs=None, outputs=output_text, title="CSV Viewer").launch()
 
14
  # Call the display_csv function with the hardcoded file path
15
  html_table_output = display_csv(file_path)
16
 
 
 
 
17
  # Create the Gradio interface
18
+ gr.Interface(fn=lambda: html_table_output, inputs=None, outputs=gr.outputs.HTML(), title="CSV Viewer").launch()