Update app.py
Browse files
app.py
CHANGED
@@ -143,7 +143,7 @@ def show_file_operations(file_path, sequence_number):
|
|
143 |
os.remove(file_path)
|
144 |
st.markdown(f"File deleted!")
|
145 |
|
146 |
-
def show_file_content(file_path, original_url):
|
147 |
_, file_extension = os.path.splitext(file_path)
|
148 |
emoji = FILE_EMOJIS.get(file_extension, "π") # Default emoji for unknown file types
|
149 |
try:
|
|
|
143 |
os.remove(file_path)
|
144 |
st.markdown(f"File deleted!")
|
145 |
|
146 |
+
def show_file_content(file_path, original_url=''):
|
147 |
_, file_extension = os.path.splitext(file_path)
|
148 |
emoji = FILE_EMOJIS.get(file_extension, "π") # Default emoji for unknown file types
|
149 |
try:
|