Jesse-marqo commited on
Commit
72ebb38
1 Parent(s): 032cc3c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -9,8 +9,8 @@ st.title('OpenCLIP Model Results Viewer')
9
  st.write(f"Current working directory: {os.getcwd()}")
10
 
11
  # List files in the current directory
12
- st.write("Files in the current directory:")
13
- st.write(os.listdir())
14
 
15
  # Specify the CSV file path
16
  csv_file_path = 'openclip_multilingual_retrieval_results.csv'
@@ -24,12 +24,12 @@ try:
24
  st.dataframe(df)
25
 
26
  # Optionally, you could add some visualizations or summaries
27
- st.write("### Summary Statistics")
28
- st.write(df.describe())
29
 
30
  # If you want to create any specific plots
31
- if st.checkbox("Show Plot"):
32
- st.line_chart(df)
33
 
34
  except FileNotFoundError:
35
  st.error(f"File {csv_file_path} not found. Please ensure the file exists in the app directory.")
 
9
  st.write(f"Current working directory: {os.getcwd()}")
10
 
11
  # List files in the current directory
12
+ #st.write("Files in the current directory:")
13
+ #st.write(os.listdir())
14
 
15
  # Specify the CSV file path
16
  csv_file_path = 'openclip_multilingual_retrieval_results.csv'
 
24
  st.dataframe(df)
25
 
26
  # Optionally, you could add some visualizations or summaries
27
+ #st.write("### Summary Statistics")
28
+ #st.write(df.describe())
29
 
30
  # If you want to create any specific plots
31
+ #if st.checkbox("Show Plot"):
32
+ # st.line_chart(df)
33
 
34
  except FileNotFoundError:
35
  st.error(f"File {csv_file_path} not found. Please ensure the file exists in the app directory.")