Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
@@ -149,6 +149,8 @@ def get_collection_files(collection_id: str, user_id: str) -> str:
|
|
149 |
# Open the table and convert to pandas
|
150 |
table = db.open_table(collection_name)
|
151 |
df = table.to_pandas()
|
|
|
|
|
152 |
|
153 |
# Get unique file names
|
154 |
unique_files = df['file_name'].unique()
|
|
|
149 |
# Open the table and convert to pandas
|
150 |
table = db.open_table(collection_name)
|
151 |
df = table.to_pandas()
|
152 |
+
print(df.head())
|
153 |
+
|
154 |
|
155 |
# Get unique file names
|
156 |
unique_files = df['file_name'].unique()
|