Spaces:
Runtime error
Runtime error
Commit
·
a4afd63
1
Parent(s):
171be63
Update app.py
Browse files
app.py
CHANGED
@@ -376,6 +376,7 @@ def main():
|
|
376 |
# Check if the extension is in FILE_LOADER_MAPPING
|
377 |
if ext in FILE_LOADER_MAPPING:
|
378 |
loader_class, loader_args = FILE_LOADER_MAPPING[ext]
|
|
|
379 |
|
380 |
# Save the uploaded file to the temporary directory
|
381 |
file_path = os.path.join(td, uploaded_file.name)
|
|
|
376 |
# Check if the extension is in FILE_LOADER_MAPPING
|
377 |
if ext in FILE_LOADER_MAPPING:
|
378 |
loader_class, loader_args = FILE_LOADER_MAPPING[ext]
|
379 |
+
st.write(f"loader_class: {loader_class}")
|
380 |
|
381 |
# Save the uploaded file to the temporary directory
|
382 |
file_path = os.path.join(td, uploaded_file.name)
|