Update app.py
Browse files
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://")):
|