Spaces:
Sleeping
Sleeping
Jesse-marqo
commited on
Commit
•
2079fd3
1
Parent(s):
1357d52
Update app.py
Browse files
app.py
CHANGED
@@ -3,14 +3,7 @@ import pandas as pd
|
|
3 |
import os
|
4 |
|
5 |
# Title of the app
|
6 |
-
st.title('Multilingual retrieval
|
7 |
-
st.write("Multilingual multimodal retrieval results from OpenCLIP.")
|
8 |
-
# Displaying the current working 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'
|
@@ -20,7 +13,7 @@ try:
|
|
20 |
df = pd.read_csv(csv_file_path)
|
21 |
|
22 |
# Display the dataframe
|
23 |
-
st.write("### OpenCLIP Model Results")
|
24 |
st.dataframe(df)
|
25 |
|
26 |
# Optionally, you could add some visualizations or summaries
|
|
|
3 |
import os
|
4 |
|
5 |
# Title of the app
|
6 |
+
st.title('Multilingual retrieval Results Viewer')
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
|
8 |
# Specify the CSV file path
|
9 |
csv_file_path = 'openclip_multilingual_retrieval_results.csv'
|
|
|
13 |
df = pd.read_csv(csv_file_path)
|
14 |
|
15 |
# Display the dataframe
|
16 |
+
st.write("### Multilingual OpenCLIP Model Results")
|
17 |
st.dataframe(df)
|
18 |
|
19 |
# Optionally, you could add some visualizations or summaries
|