Spaces:
Runtime error
Runtime error
Commit
·
d9cdba3
1
Parent(s):
b2220d6
Update app.py
Browse files
app.py
CHANGED
@@ -371,7 +371,7 @@ def main():
|
|
371 |
# Check if the extension is in FILE_LOADER_MAPPING
|
372 |
if ext in FILE_LOADER_MAPPING:
|
373 |
loader_class, loader_args = FILE_LOADER_MAPPING[ext]
|
374 |
-
|
375 |
# Save the uploaded file to the temporary directory
|
376 |
file_path = os.path.join(td, uploaded_file.name)
|
377 |
with open(file_path, 'wb') as temp_file:
|
|
|
371 |
# Check if the extension is in FILE_LOADER_MAPPING
|
372 |
if ext in FILE_LOADER_MAPPING:
|
373 |
loader_class, loader_args = FILE_LOADER_MAPPING[ext]
|
374 |
+
st.write(f"loader_class: {loader_class}")
|
375 |
# Save the uploaded file to the temporary directory
|
376 |
file_path = os.path.join(td, uploaded_file.name)
|
377 |
with open(file_path, 'wb') as temp_file:
|