awacke1 commited on
Commit
1ed84e9
β€’
1 Parent(s): 86e317f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -202,7 +202,7 @@ def show_file_content(file_path):
202
  try:
203
 
204
  if file_extension in ['.png', '.jpg', '.jpeg']:
205
- image_url = file_path.replace('File: ','')
206
  st.write('Image URL:' + image_url)
207
  # Check if the base_url needs to be prepended
208
  #if base_url and not file_path.startswith(("http://", "https://")):
 
202
  try:
203
 
204
  if file_extension in ['.png', '.jpg', '.jpeg']:
205
+ image_url = file_path.replace('File:','')
206
  st.write('Image URL:' + image_url)
207
  # Check if the base_url needs to be prepended
208
  #if base_url and not file_path.startswith(("http://", "https://")):